c++实现c语言子集编译器

时间:2022-01-05 03:44:18
【文件属性】:
文件名称:c++实现c语言子集编译器
文件大小:971KB
文件格式:ZIP
更新时间:2022-01-05 03:44:18
C编译器 词法分析 语法分析 四元式 c++实现c语言子集编译器,共有三种数据类型INT,BOOL,ARRAY;三种控制结构IF-ELSE、WHILE、FOR,产生四个表,词法分析parser.out、action.out、goto.out、四元式parser.out。
【文件预览】:
代码
----getTable()
--------grammer.txt(1KB)
--------main.o(486KB)
--------action.out(23KB)
--------getTable.h(2KB)
--------main.cpp(471B)
--------Makefile.win(1KB)
--------getTable.dev(1KB)
--------getTable.cpp(9KB)
--------getTable.exe(1.43MB)
--------goto.out(6KB)
--------getTable.layout(272B)
--------getTable.o(2.26MB)
----Parser()
--------tag.h(695B)
--------grammer.txt(1KB)
--------action.out(21KB)
--------myLexer.o(237KB)
--------test.txt(184B)
--------Parser.layout(665B)
--------Main.o(334KB)
--------myLexer.h(854B)
--------Parser.dev(2KB)
--------Main.cpp(115B)
--------lexer.out(509B)
--------myLexer.cpp(3KB)
--------Makefile.win(1KB)
--------parser.out(322B)
--------Makefile(413B)
--------Parser.exe(1.17MB)
--------myParser.h(2KB)
--------goto.out(6KB)
--------myParser.cpp(16KB)
--------myParser.o(1.66MB)
----Lexer()
--------tag.h(695B)
--------main.o(4KB)
--------myLexer.o(295KB)
--------test.txt(184B)
--------Lexer.dev(1KB)
--------myLexer.h(1KB)
--------myLexer.txt(0B)
--------main.cpp(225B)
--------lexer.out(509B)
--------myLexer.cpp(5KB)
--------Makefile.win(1KB)
--------Lexer.layout(350B)
--------Lexer.exe(307KB)

网友评论

  • 感觉还行吧