├── .vs └── cCompiler │ └── v14 │ └── .suo ├── Debug ├── Praser.obj ├── block.obj ├── cCompiler.log ├── cCompiler.pdb ├── cCompiler.tlog │ ├── CL.command.1.tlog │ ├── CL.read.1.tlog │ ├── CL.write.1.tlog │ ├── cCompiler.lastbuildstate │ ├── link-cvtres.read.1.tlog │ ├── link-cvtres.write.1.tlog │ ├── link-rc.read.1.tlog │ ├── link-rc.write.1.tlog │ ├── link.command.1.tlog │ ├── link.read.1.tlog │ ├── link.write.1.tlog │ └── unsuccessfulbuild ├── innerCode.obj ├── tools.obj ├── tree.obj ├── vc140.idb └── vc140.pdb ├── Praser.cpp ├── Praser.h ├── block.cpp ├── block.h ├── cCompiler.VC.db ├── cCompiler.sln ├── cCompiler.vcxproj ├── cCompiler.vcxproj.filters ├── codeOptimize.cpp ├── codeOptimize.h ├── compiler.exe ├── compiler.l ├── compiler.y ├── innerCode.cpp ├── innerCode.h ├── innerCode.txt ├── lex.yy.c ├── makefile.bat ├── objectcode ├── inter.txt ├── objectcode.py └── result.asm ├── output └── output.txt ├── readme.md ├── test └── test.c ├── tools.cpp ├── tools.h ├── tree.cpp ├── tree.h ├── y.output ├── y.tab.c └── y.tab.h /.vs/cCompiler/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/.vs/cCompiler/v14/.suo -------------------------------------------------------------------------------- /Debug/Praser.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/Praser.obj -------------------------------------------------------------------------------- /Debug/block.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/block.obj -------------------------------------------------------------------------------- /Debug/cCompiler.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.log -------------------------------------------------------------------------------- /Debug/cCompiler.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.pdb -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/cCompiler.lastbuildstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/cCompiler.lastbuildstate -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/link-cvtres.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/link-cvtres.read.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/link-cvtres.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/link-cvtres.write.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/link-rc.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/link-rc.read.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/link-rc.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/link-rc.write.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/cCompiler.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Debug/cCompiler.tlog/unsuccessfulbuild: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Debug/innerCode.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/innerCode.obj -------------------------------------------------------------------------------- /Debug/tools.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/tools.obj -------------------------------------------------------------------------------- /Debug/tree.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/tree.obj -------------------------------------------------------------------------------- /Debug/vc140.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/vc140.idb -------------------------------------------------------------------------------- /Debug/vc140.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Debug/vc140.pdb -------------------------------------------------------------------------------- /Praser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Praser.cpp -------------------------------------------------------------------------------- /Praser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/Praser.h -------------------------------------------------------------------------------- /block.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /block.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/block.h -------------------------------------------------------------------------------- /cCompiler.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/cCompiler.VC.db -------------------------------------------------------------------------------- /cCompiler.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/cCompiler.sln -------------------------------------------------------------------------------- /cCompiler.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/cCompiler.vcxproj -------------------------------------------------------------------------------- /cCompiler.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/cCompiler.vcxproj.filters -------------------------------------------------------------------------------- /codeOptimize.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/codeOptimize.cpp -------------------------------------------------------------------------------- /codeOptimize.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/codeOptimize.h -------------------------------------------------------------------------------- /compiler.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/compiler.exe -------------------------------------------------------------------------------- /compiler.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/compiler.l -------------------------------------------------------------------------------- /compiler.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/compiler.y -------------------------------------------------------------------------------- /innerCode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/innerCode.cpp -------------------------------------------------------------------------------- /innerCode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/innerCode.h -------------------------------------------------------------------------------- /innerCode.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/innerCode.txt -------------------------------------------------------------------------------- /lex.yy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/lex.yy.c -------------------------------------------------------------------------------- /makefile.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/makefile.bat -------------------------------------------------------------------------------- /objectcode/inter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/objectcode/inter.txt -------------------------------------------------------------------------------- /objectcode/objectcode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/objectcode/objectcode.py -------------------------------------------------------------------------------- /objectcode/result.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/objectcode/result.asm -------------------------------------------------------------------------------- /output/output.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/readme.md -------------------------------------------------------------------------------- /test/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/test/test.c -------------------------------------------------------------------------------- /tools.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/tools.cpp -------------------------------------------------------------------------------- /tools.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/tools.h -------------------------------------------------------------------------------- /tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/tree.cpp -------------------------------------------------------------------------------- /tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/tree.h -------------------------------------------------------------------------------- /y.output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/y.output -------------------------------------------------------------------------------- /y.tab.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/y.tab.c -------------------------------------------------------------------------------- /y.tab.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Uyouii/cCompiler/HEAD/y.tab.h --------------------------------------------------------------------------------