Skip to content

SeanWang0027/EasyParser1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyParser1.0

How to use it?

Before you use this repo, please use git clone to download the whole project to your own computer. And before everything starts, you should first create 2 directories:

cd ./EasyParser1.0
mkdir log
mkdir syntax

Just directly use the command below.

python ./main.py

The program you need to change is in ./program/program.cc.

Dependencies

You probably need to install pyecharts. Just use the command:

pip install pyecharts

Results

Check the Syntax tree in the following directory where it is established as an HTML file :./syntax/SynTree.html.

You can find the Action/Goto Table here: ./syntax/lr.txt.

And check the Stack of Analysis here: ./syntax/StackInfo.txt.

The productions are listed here: ./program/productions.txt.

About

A simple syntax analyzer established in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published