项目作者: phzs

项目描述 :
Visualization of LR(0)-Parsing
高级语言: Java
项目地址: git://github.com/phzs/lr0parsing.git
创建时间: 2018-04-11T17:13:07Z
项目社区:https://github.com/phzs/lr0parsing

开源协议:GNU General Public License v3.0

下载


LR0 parsing visualization

A tool to visualize the LR0 parsing as described in http://amor.cms.hu-berlin.de/~kunert/papers/lr-analyse/.
See also https://en.wikipedia.org/w/index.php?title=LR_parser&oldid=852499017.

Basic features:

  • Full implementation of LR0 parsing
  • Graphical user interface with the features:
    • Allows to insert, edit and remove rules of the context free grammar
    • Allows to store and load gramar to/from disk (uses json format)
    • Visualizes generation of the state automaton
    • Visualizes generation of the parse table
    • Interactive syntax analysis of sequences using the generated parse table

Use the continue button to get to the next phase. The step button can be used to see more detailled information about what happens in each phase.

Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4