XML Goes Native: Run-time Representations for XTATIC
XTATIC is a lightweight extension of C# offering native support for statically typed XML processing. XML trees are built-in values in XTATIC, and static analysis of the trees manipulated by programs is part of the ordinary job of the typechecker. "Tree grep" pattern matching is used to investigate and transform XML trees. XTATIC's surface syntax and type system are tightly integrated with those of C#. Beneath the hood, however, an implementation of XTATIC must address a number of issues common to any language supporting a declarative style of XML processing (e.g., XQUERY, XSLT, XDUCE, CDUCE, XACT, XEN, etc.). In particular, it must provide representations for XML tags, trees, and textual data that use memory efficiently, support efficient pattern matching, allow maximal sharing of common substructures, and permit separate compilation. We analyze these representation choices in detail and describe the solutions used by the XTATIC compiler.
Date of presentation
Date Range for Data Collection (Start Date)
Date Range for Data Collection (End Date)
Digital Object Identifier
Series name and number
<br>Postprint version. Published in <i>Lecture Notes in Computer Science</i>, Volume 3443, Compiler Construction, 2005, pages 43-58.<br> Publisher URL: http://dx.doi.org/10.1007/b107108 <br><p>