Introduction - If you have any usage issues, please Google them yourself
Compilation Principle recent study courses, wrote a grammar of such a simple procedure, to achieve simplification of grammar, grammar transformation, the elimination of production space, the elimination of a single production, the elimination of useless production functions. Followed by a good Pascal language lexical analysis procedures, and we all learn together.
Packet : 33753150grammer.rar filelist
文法化简\grammer1.txt
文法化简\grammer.txt
文法化简\common.h
文法化简\main.c
文法化简\消除单产生式.txt
文法化简\文法化简.dsp
文法化简\grammer2.out.txt
文法化简\消除无用产生式.txt
文法化简\grammer.out.txt
文法化简\文法化简.dsw
文法化简\SymbolSet.h
文法化简\消除空产生式.txt
文法化简\Production.h
Pascalex\test2.pas
Pascalex\parser.h
Pascalex\example.pas
Pascalex\pascal.dsw
Pascalex\parser.cpp
Pascalex\out.txt
Pascalex\pascal.cpp
Pascalex\pascal.dsp
Pascalex\example1.pas
Pascalex\example.str
文法化简
Pascalex