Parser visualizations for developing grammars with yacc

This paper describes Gyacc (graphical yacc), a tool we have developed to support a graphical approach to developing languages with parser generators such as yacc. Gyacc is an interactive environment which supports the construction of context-free grammars, and provides the user with the ability to study yacc-generated parsers. We are strongly convinced that to fully teach and understand the details of a generated parser, the user or student must see it in operation. Gyacc accomplishes this by providing a set of animations which the user can select to observe different aspects of the parser as it executes.

[1]  Alfred V. Aho,et al.  LR Parsing , 1974, ACM Comput. Surv..

[2]  Murray Hill,et al.  Yacc: Yet Another Compiler-Compiler , 1978 .

[3]  Georg Raeder A Survey of Current Graphical Programming Techniques , 1985, Computer.

[4]  Alfred V. Aho,et al.  Compilers: Principles, Techniques, and Tools , 1986, Addison-Wesley series in computer science / World student series edition.

[5]  Charles N. Fischer,et al.  Crafting a Compiler , 1988 .

[6]  John T. Stasko The path-transition paradigm: a practical methodology for adding animation to program interfaces , 1990, J. Vis. Lang. Comput..

[7]  John R. Levine,et al.  Lex & yacc, 2nd edition , 1992 .

[8]  John K. Ousterhout,et al.  Tcl and the Tk Toolkit , 1994 .

[9]  Jason Williams,et al.  Understanding the bottom-up SLR parser , 1994, SIGCSE '94.