An automatic 'visitor' generator for ada
Autor: | Ricky E. Sward, Martin C. Carlisle |
---|---|
Rok vydání: | 2002 |
Předmět: |
Parsing
Generator (computer programming) Grammar Computer science Programming language media_common.quotation_subject Visitor pattern Parse tree Extension (predicate logic) computer.software_genre TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES Code (cryptography) General Earth and Planetary Sciences computer General Environmental Science media_common |
Zdroj: | ACM SIGAda Ada Letters. :42-47 |
ISSN: | 1094-3641 |
Popis: | This paper describes work that has been done to automatically generate code that implements the Visitor design pattern for a specified grammar. This work is an extension of the work done on the Ada Generator of Object-Oriented Parsers (AdaGOOP) [Car00]. AdaGOOP creates lexer and parser specifications automatically given a specific grammar. The lexer and parser specifications include all methods needed to generate the parse tree. Our work extends AdaGOOP by automatically including the code for visitor objects that can perform operations on the parse tree generated by AdaGOOP. |
Databáze: | OpenAIRE |
Externí odkaz: |