Sciweavers

CC
2005
Springer

XML Goes Native: Run-Time Representations for Xtatic

13 years 10 months ago
XML Goes Native: Run-Time Representations for Xtatic
Abstract. 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. Pi
Added 26 Jun 2010
Updated 26 Jun 2010
Type Conference
Year 2005
Where CC
Authors Vladimir Gapeyev, Michael Y. Levin, Benjamin C. Pierce, Alan Schmitt
Comments (0)