首页 | 本学科首页   官方微博 | 高级检索  
     


Ytracc: A parse browser for yacc grammars
Authors:Richard Furuta  P David Stotts  Jefferson Ogata
Abstract:We describe a program for the display and exploration of complex, domain-specific information: ytracc, an interactive grammar debugging tool for compiler writers. The ytracc system provides the designer of a yacc grammar a method of tracing a parser as it uses the grammar, ytracc captures the states of the parse as it is carried out. The captured parse can then be replayed forwards or backwards, step-by-step, or subtree-by-subtree, as defined by the non-terminals of the grammar. The tool has been successfully used by students as an assistant in an advanced undergraduate compiler construction class, and we use the tool in our everyday work.
Keywords:Grammatical specification  Parser generators  Specialized debuggers  Visualization  Yacc
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号