Automatic OO parser generation using visitors for Ada 2005 Academic Article uri icon

abstract

  • We describe AdaGOOP 2005 (the Ada Generator of Object-Oriented Parsers). AdaGOOP 2005 takes a specification of tokens and an LALR(1) grammar and creates a lexer, a parser that automatically creates a parse tree, and a traversal of the parse tree using the visitor pattern. AdaGOOP generates output that is similar to that of the Java tool SableCC. It takes advantage of the new interface feature available in Ada 2005 to create a visitor.

author list (cited authors)

  • Carlisle, M. C.

publication date

  • January 1, 2006 11:11 AM