Browser

Building XML-Driven Application Generators With Compiler Construction Tools

Download Now Free registration required

Executive Summary

This paper describes how to use conventional compiler construction tools, and parser generators in particular, to build XML-driven application generators. In the authors' 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.

  • Format: PDF
  • Size: 446.04 KB