XSugar makes it possible to manage dual syntax for XML languages. An XSugar specification is built around a context-free grammar that unifies the two syntaxes of a language. Given such a specification, the XSugar tool can translate from alternative syntax to XML and vice versa. Moreover, the tool statically checks that the transformations are reversible (i.e. bidirectional) and that all XML documents generated from the alternative syntax are valid according to a given XML schema.
The tool was developed by the programming language research group at Aarhus University.
XSugar allows transfroming XML into various non-XML files and vice versa.
- Log in to post comments
XSugar allows transfroming XML into various non-XML files and vice versa.