An automatic object-oriented parser generator for Ada

  • Authors:
  • Martin C. Carlisle

  • Affiliations:
  • Department of Computer Science, 2354 Fairchild Dr., Suite 6K41, U.S. Air Force Academy, CO

  • Venue:
  • ACM SIGAda Ada Letters
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

Although many parser generator tools (aka compiler compilers) are available, very few create a parse tree. Instead, the user must add actions to the grammar to create the parse tree. This is a tedious, mechanical task, which could easily be automated. We propose a simple scheme to map a grammar to an object-oriented hierarchy, and provide a tool, called AdaGOOP, that creates lexer and parser specifications complete with all of the actions necessary to create the parse tree.