Monday, 11 February 2008

Language-oriented programming: The Term-level Interpreter

The OCaml Journal just published an article that walks through the construction of a simple term-level interpreter for a new programming language:

"Modern software is using a wider variety of languages than ever before. The ability to parse and interpret these languages is of growing importance. Fortunately, OCaml inherits incredibly powerful language features (algebraic data types and pattern matching) for program manipulation from its predecessors and augments these with an excellent suite of tools and libraries. This article explains how OCaml can be harnessed to write a complete term-level interpreter for a programming language in only a tiny amount of code...."

To read this article and more, subscribe to The OCaml Journal today!

No comments: