A parser project in a programming languages course

  • Authors:
  • Michael Werner

  • Affiliations:
  • Department of Computer Science and Systems, Wentworth Institute of Technology, Boston, MA

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

Quantified Score

Hi-index 0.00

Visualization

Abstract

This experience report describes a programming exercise designed to reinforce concepts of parsing, regular and context-free grammars, first sets, and abstract syntax trees. Students build a parser for a language with real applications. To make this feasible tools including a compiler compilers and automated support for the visitor design pattern, are used. The exercise is extensible.