Building XML-driven application generators with compiler construction tools

5Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.

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, an XML-driven generator of shortest-route search applications in subway networks.

Cite

CITATION STYLE

APA

Sarasa-Cabezuelo, A., Temprado-Battad, B., Rodríguez-Cerezo, D., & Sierra, J. L. (2012). Building XML-driven application generators with compiler construction tools. Computer Science and Information Systems, 9(2), 485–504. https://doi.org/10.2298/CSIS110505002S

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free