Simplifying parser generation

  • Authors:
  • Gabriel J. Ferrer

  • Affiliations:
  • Hendrix College, Conway, AR

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

Quantified Score

Hi-index 0.01

Visualization

Abstract

This paper describes Squirrel, a parser generator that uses a modification of the Packrat algorithm [7]. Squirrel is designed to avoid many of the complexities often associated with parser generators. Students in a CS3 course were able to learn to use Squirrel in about a week. These students were successful in using Squirrel to create parsers for subsets of the Logo programming language and HTML. Squirrel is distributed under the terms of the GNU Lesser General Public License, and it may be downloaded from http://ozark.hendrix.edu/~ferrer/software/squirrel/.