Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

The Caml Hump: Tony


Tony is a simple XML parser and pretty printer for Objective Caml. While you would most likely use it as a library it comes for demonstration purposes as an application. Tony reads an XML file and pretty prints it nicely. The parser is implemented using Lex and Yacc, the pretty printer using Philip Wadler's pretty-printing algebra. Today more complete (and complex) XML parsers for OCaml exist; Tony is still useful if you want to cover the basic case.
Homepage ]
Author:Christian Lindig.
Last modification date:09-Aug-2001
Development status:Beta
Kind: Applications written in Caml :: Toys - Examples
Libraries :: Native OCaml libraries
Topic: XML :: Parsers and pretty-printers