| Title | Object-oriented tree traversal with {JJF}orester |
| Publication Type | Book Chapter |
| Year of Publication | 2000 |
| Authors | Kuipers T, Visser JMW |
| Book Title | 340 |
| Pagination | 18 |
| Publisher | Centrum voor Wiskunde en Informatica (CWI) |
| City | ISSN 1386-369X |
| Keywords | Generalized LR parsing, object-orientation., program analysis, program generation, program transformation, tree traversal |
| Abstract | We want to use the advanced language processing technology available in the {\sc Asf+Sdf} in combination with general purpose programming languages. In particular, we want to combine the syntax definition formalism {\sc Sdf} and the associated components that support generalized LR parsing, with the object-oriented language Java. To this end, we implemented JJForester, a tool that generates class structures from {\sc Sdf} grammar definitions. The generated class structures implement a number of \emph{design patterns} to facilitate construction and traversal of parse trees represented by object structures. In a detailed case study, we demonstrate how program analyses and transformations can be constructed with JJForester. |
| URL | http://www.cwi.nl/ftp/CWIreports/SEN/SEN-R0041.ps.Z |