摘要 |
System and methods for generating an XML-based language parser and writer. Upon selection of a language, a parser-writer generator is arranged to receive language definition, a set of rules defining a structure of the language. The parser-writer generator generates code to be compiled into a parser and a writer. The parser takes input text adhering to the language schema and provides an AST reflecting the input text. The writer takes an AST that adheres to the language structure and provides output text in the selected language reflecting the AST.
|