Building XML-Driven Application Generators with Compiler Construction Tools
Computer Science and Information Systems, Tome 9 (2012) no. 2.

Voir la notice de l'article provenant de la source Computer Science and Information Systems website

This paper describes how to use conventional compiler construction tools, and parser generators in particular, to build XML-driven application generators. In our approach, the document interface is provided by a standard stream-oriented XML processing framework (e.g., SAX or StAX). This framework is used to program a generic, customizable XML scanner that transforms documents into streams of suitable tokens (opening and closing tags, character data, etc.). The next step is to characterize the syntactic structure of these streams in terms of generation-specific context-free grammars. By adding suitable semantic attributes and semantic actions to these grammars, developers obtain generation-oriented translation schemes: high-level specifications of the generation tasks. These specifications are then turned into working application generators by using standard parser generation technology. We illustrate the approach with , an XML-driven generator of shortest-route search applications in subway networks.
Keywords: Application Generators, Compiler Construction Tools, XML Processing, Software Development Approach
@article{CSIS_2012_9_2_a2,
     author = {Antonio Sarasa-Cabezuelo and Bryan Temprado-Battad and Daniel Rodr{\'\i}guez Cerezo and Jos\'e-Luis Sierra},
     title = {Building {XML-Driven} {Application} {Generators} with {Compiler} {Construction} {Tools}},
     journal = {Computer Science and Information Systems},
     publisher = {mathdoc},
     volume = {9},
     number = {2},
     year = {2012},
     url = {http://geodesic.mathdoc.fr/item/CSIS_2012_9_2_a2/}
}
TY  - JOUR
AU  - Antonio Sarasa-Cabezuelo
AU  - Bryan Temprado-Battad
AU  - Daniel Rodríguez Cerezo
AU  - José-Luis Sierra
TI  - Building XML-Driven Application Generators with Compiler Construction Tools
JO  - Computer Science and Information Systems
PY  - 2012
VL  - 9
IS  - 2
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/CSIS_2012_9_2_a2/
ID  - CSIS_2012_9_2_a2
ER  - 
%0 Journal Article
%A Antonio Sarasa-Cabezuelo
%A Bryan Temprado-Battad
%A Daniel Rodríguez Cerezo
%A José-Luis Sierra
%T Building XML-Driven Application Generators with Compiler Construction Tools
%J Computer Science and Information Systems
%D 2012
%V 9
%N 2
%I mathdoc
%U http://geodesic.mathdoc.fr/item/CSIS_2012_9_2_a2/
%F CSIS_2012_9_2_a2
Antonio Sarasa-Cabezuelo; Bryan Temprado-Battad; Daniel Rodríguez Cerezo; José-Luis Sierra. Building XML-Driven Application Generators with Compiler Construction Tools. Computer Science and Information Systems, Tome 9 (2012) no. 2. http://geodesic.mathdoc.fr/item/CSIS_2012_9_2_a2/