Thursday, 29 November 2007

Camlp4 3.10: writing parsers and macros

The OCaml Journal just published an article explaining how camlp4 can be used to write parsers and syntax extensions quickly and easily:

"The latest OCaml tool stack includes a revamped preprocessor called camlp4 that serves several purposes including providing extensions to the OCaml language that allow parsers to be embedded in ordinary OCaml code as well as the ability to extend the syntax of OCaml itself by writing macros. This article explains how camlp4 can be used to write general parsers and OCaml syntax extensions..."

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

No comments: