Annotated syntax graphs

  • Authors:
  • Samuel Hsieh

  • Affiliations:
  • Computer Science Department, Ball State University, Muncie, IN

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Annotated syntax graphs are presented as a pedagogical tool in teaching compiler construction and as a design tool for developing semantic actions in writing a compiler. The tool is compared with attribute grammars. Using annotated syntax graphs generally leads to rather lucid semantic actions. Certain difficulties that exist when using attribute grammars can be avoided when annotated syntax graphs are used instead.