Date of this Version
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.
Vladimir Gapeyev, Michael Y. Levin, Benjamin C. Pierce, and Alan Schmitt, "XML Goes Native: Run-time Representations for XTATIC", . April 2005.
Date Posted: 10 September 2005