Abstract | ||
---|---|---|
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 < e-Subway >, an XML-driven generator of shortest-route search applications in subway networks. |
Year | DOI | Venue |
---|---|---|
2012 | 10.2298/CSIS110505002S | COMPUTER SCIENCE AND INFORMATION SYSTEMS |
Keywords | Field | DocType |
Application Generators,Compiler Construction Tools,XML Processing,Software Development Approach | Rule-based machine translation,Data mining,XML framework,Programming language,XML,Computer science,XML validation,Xml processing,Compiler construction,StAX,Parsing | Journal |
Volume | Issue | ISSN |
9 | 2 | 1820-0214 |
Citations | PageRank | References |
3 | 0.40 | 21 |
Authors | ||
4 |
Name | Order | Citations | PageRank |
---|---|---|---|
Antonio Sarasa Cabezuelo | 1 | 22 | 14.82 |
Bryan Temprado-Battad | 2 | 19 | 2.91 |
Daniel Rodriguez-Cerezo | 3 | 32 | 5.09 |
José Luis Sierra | 4 | 449 | 48.96 |