Skip to content

lexical analysis & LR1-parser & expression semantic analysis

Notifications You must be signed in to change notification settings

Yuiffy/LR1-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LR1-parser

lexical analysis & LR1-parser & expression semantic analysis

Run the "yf2.cpp" to analysis the "source2.cpp".

lexical analysis is in cf.h;

the LR(1) table is already in "biao.txt", my program can not make it.Please use the "other/编译工作台by尹涛.rar" to make the table.

(by that, use wenfa.grm to make "LR1分析表.txt" , then use Chrome to open it, then copy it to notepad, then a part of it become just like biao.txt)

the part of read the biao.txt is in readTable.h;

LR1-parser and expression semantic analysis is in yf2.cpp

About

lexical analysis & LR1-parser & expression semantic analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published