Access the full text.
Sign up today, get DeepDyve free for 14 days.
E. Gamma, Richard Helm, Ralph Johnson, J. Vlissides (1994)
Design patterns: elements of reuseable object-oriented software
M. Carlisle (2000)
An automatic object-oriented parser generator for AdaACM Sigada Ada Letters
M. Carlisle, R. Sward, J. Humphries (2003)
Weaving Ada 95 into the .net environment
An Automatic "Visitor" Generator for Ada Martin C. Carlisle Department of Computer Science 2354 Fairchild Dr., Suite 1J133 US Air Force Academy, CO 80840 c a r l is I e m @ a c m , o r g Ricky E. Sward Department of Computer Science 2354 Fairchild Dr., Suite 1J134 US Air Force Academy, CO 80840 1 Introduction 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. This paper first describes the Visitor design pattern and the benefits of implementing this pattern, then describes the AdaGOOP tool in more detail and how the tool was extended to automatically generate visitor objects. Finally, we present examples of the visitor objects generated by AdaGOOP. 2 Visitor Design Pattern Implementing
ACM SIGAda Ada Letters – Association for Computing Machinery
Published: Sep 1, 2002
Read and print from thousands of top scholarly journals.
Already have an account? Log in
Bookmark this article. You can see your Bookmarks on your DeepDyve Library.
To save an article, log in first, or sign up for a DeepDyve account if you don’t already have one.
Copy and paste the desired citation format or use the link below to download a file formatted for EndNote
Access the full text.
Sign up today, get DeepDyve free for 14 days.
All DeepDyve websites use cookies to improve your online experience. They were placed on your computer when you launched this website. You can change your cookie settings through your browser.