Font Size: a A A

Rapid prototyping of domain-specific languages: Applying the null-object pattern in an object-oriented compiler compiler

Posted on:2005-12-20Degree:Ph.DType:Dissertation
University:The University of AlabamaCandidate:Yessick, Donald EFull Text:PDF
GTID:1458390008494344Subject:Computer Science
Abstract/Summary:
Modular platform-independent object-oriented efficient rewriting compilers can be developed with minimal effort by integrating current object-oriented compiler technologies in Java. We describe integration innovations that allow rapid production of source-to-source translation programs (compilers) implemented through traditional compiler construction techniques and tools. The innovation is the incorporation of the null-object pattern to capture epsilon (null) productions in a parse tree, allowing rapid development of domain-specific languages. The generated syntax trees, augmented with transformation functions, possess flexible traversal patterns that simplify code generation. Two prototypes, one used to develop a tiny language, DBCSV, that facilitates data transfers between comma-separated value text files and database systems, the other a bootstrapping refinement, are discussed.
Keywords/Search Tags:Object-oriented, Compiler, Rapid
Related items