Understanding the bottom-up SLR parser

  • Authors:
  • Sami Khuri;Jason Williams

  • Affiliations:
  • Department of Mathematics and Computer Science, San José State University, One Washington Square, SAn José, CA;Department of Mathematics and Computer Science, San José State University, One Washington Square, SAn José, CA

  • Venue:
  • SIGCSE '94 Proceedings of the twenty-fifth SIGCSE symposium on Computer science education
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes an application of one of the important abstract concepts taught in a compiler construction course. It demonstrates how the techniques behind the bottom-up SLR parser can be used to perform computer animation. The different phases of the implementation presented are identical to the ones used by the traditional compiler for parsing source codes written in high-level languages. This application can be used either to explain the different phases of the traditional compiler, or as an illustration of the bottom-up SLR parsing techniques applied in a non-traditional environment.