TOOL PAPER: ScalaBison Recursive Ascent-Descent Parser Generator

  • Authors:
  • John Boyland;Daniel Spiewak

  • Affiliations:
  • Department of EE & Computer Science, University of Wisconsin-Milwaukee, Milwaukee, Wisconsin, USA;Department of EE & Computer Science, University of Wisconsin-Milwaukee, Milwaukee, Wisconsin, USA

  • Venue:
  • Electronic Notes in Theoretical Computer Science (ENTCS)
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

ScalaBison is a parser generator accepting bison syntax and generating a parser in Scala. The generated parser uses the idea of ''recursive ascent-descent parsing,'' that is, directly encoded generalized left-corner parsing. Of interest is that fact that the parser is generated from the LALR(1) tables created by bison, thus enabling extensions such as precedence to be handled implicitly.