Chaperon is a project that converts structured text to XML. Chaperon includes a strong LALR(1) parser to parse the text and a tree builder, which creates an XML document.
Chaperon is a lexical scanner, a parser generator, a parser, a tree builder and an XML generator all in one package. Chaperon can parse structured text using a grammar and then generate an XML representation of the parsed text, so it is easy to use Chaperon as a converter for text files.
Chaperon is licensed and distributed under the terms of the Apache Software License.