├── .gitattributes ├── .gitignore ├── Generator ├── Code.cpp ├── Code.h ├── Generator.cpp ├── Generator.vcxproj ├── Generator.vcxproj.filters ├── Main.cpp ├── Main.h ├── Node.h ├── Parser.cpp ├── Scanner.cpp ├── Token.cpp └── Token.h ├── Interpreter ├── BuiltinFunctionTable.cpp ├── Datatype.cpp ├── Datatype.h ├── Interpreter.cpp ├── Interpreter.vcxproj ├── Interpreter.vcxproj.filters ├── Main.cpp ├── Main.h ├── Node.h ├── Parser.cpp ├── Scanner.cpp ├── Token.cpp └── Token.h ├── Machine ├── BuiltinFunctionTable.cpp ├── Code.h ├── Datatype.cpp ├── Datatype.h ├── Generator.cpp ├── Machine.cpp ├── Machine.vcxproj ├── Machine.vcxproj.filters ├── Main.cpp ├── Main.h ├── Node.h ├── Parser.cpp ├── Scanner.cpp ├── Token.cpp └── Token.h ├── Parser ├── Main.cpp ├── Main.h ├── Node.h ├── Parser.cpp ├── Parser.vcxproj ├── Parser.vcxproj.filters ├── Printer.cpp ├── Scanner.cpp ├── Token.cpp └── Token.h ├── README.md ├── Scanner ├── Main.cpp ├── Main.h ├── Scanner.cpp ├── Scanner.vcxproj ├── Scanner.vcxproj.filters ├── Token.cpp └── Token.h └── Yulang.sln /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/.gitignore -------------------------------------------------------------------------------- /Generator/Code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Code.cpp -------------------------------------------------------------------------------- /Generator/Code.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Code.h -------------------------------------------------------------------------------- /Generator/Generator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Generator.cpp -------------------------------------------------------------------------------- /Generator/Generator.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Generator.vcxproj -------------------------------------------------------------------------------- /Generator/Generator.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Generator.vcxproj.filters -------------------------------------------------------------------------------- /Generator/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Main.cpp -------------------------------------------------------------------------------- /Generator/Main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Main.h -------------------------------------------------------------------------------- /Generator/Node.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Node.h -------------------------------------------------------------------------------- /Generator/Parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Parser.cpp -------------------------------------------------------------------------------- /Generator/Scanner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Scanner.cpp -------------------------------------------------------------------------------- /Generator/Token.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Token.cpp -------------------------------------------------------------------------------- /Generator/Token.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Generator/Token.h -------------------------------------------------------------------------------- /Interpreter/BuiltinFunctionTable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/BuiltinFunctionTable.cpp -------------------------------------------------------------------------------- /Interpreter/Datatype.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Datatype.cpp -------------------------------------------------------------------------------- /Interpreter/Datatype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Datatype.h -------------------------------------------------------------------------------- /Interpreter/Interpreter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Interpreter.cpp -------------------------------------------------------------------------------- /Interpreter/Interpreter.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Interpreter.vcxproj -------------------------------------------------------------------------------- /Interpreter/Interpreter.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Interpreter.vcxproj.filters -------------------------------------------------------------------------------- /Interpreter/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Main.cpp -------------------------------------------------------------------------------- /Interpreter/Main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Main.h -------------------------------------------------------------------------------- /Interpreter/Node.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Node.h -------------------------------------------------------------------------------- /Interpreter/Parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Parser.cpp -------------------------------------------------------------------------------- /Interpreter/Scanner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Scanner.cpp -------------------------------------------------------------------------------- /Interpreter/Token.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Token.cpp -------------------------------------------------------------------------------- /Interpreter/Token.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Interpreter/Token.h -------------------------------------------------------------------------------- /Machine/BuiltinFunctionTable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/BuiltinFunctionTable.cpp -------------------------------------------------------------------------------- /Machine/Code.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Code.h -------------------------------------------------------------------------------- /Machine/Datatype.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Datatype.cpp -------------------------------------------------------------------------------- /Machine/Datatype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Datatype.h -------------------------------------------------------------------------------- /Machine/Generator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Generator.cpp -------------------------------------------------------------------------------- /Machine/Machine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Machine.cpp -------------------------------------------------------------------------------- /Machine/Machine.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Machine.vcxproj -------------------------------------------------------------------------------- /Machine/Machine.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Machine.vcxproj.filters -------------------------------------------------------------------------------- /Machine/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Main.cpp -------------------------------------------------------------------------------- /Machine/Main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Main.h -------------------------------------------------------------------------------- /Machine/Node.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Node.h -------------------------------------------------------------------------------- /Machine/Parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Parser.cpp -------------------------------------------------------------------------------- /Machine/Scanner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Scanner.cpp -------------------------------------------------------------------------------- /Machine/Token.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Token.cpp -------------------------------------------------------------------------------- /Machine/Token.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Machine/Token.h -------------------------------------------------------------------------------- /Parser/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Main.cpp -------------------------------------------------------------------------------- /Parser/Main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Main.h -------------------------------------------------------------------------------- /Parser/Node.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Node.h -------------------------------------------------------------------------------- /Parser/Parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Parser.cpp -------------------------------------------------------------------------------- /Parser/Parser.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Parser.vcxproj -------------------------------------------------------------------------------- /Parser/Parser.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Parser.vcxproj.filters -------------------------------------------------------------------------------- /Parser/Printer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Printer.cpp -------------------------------------------------------------------------------- /Parser/Scanner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Scanner.cpp -------------------------------------------------------------------------------- /Parser/Token.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Token.cpp -------------------------------------------------------------------------------- /Parser/Token.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Parser/Token.h -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # crafting-compiler 2 | 컴파일러 만들기 [컴퓨터 프로그램의 구조와 원리] 3 | 4 | # 저자 이메일 주소 정정 안내 5 | yu-jongwon@naver.com 6 | -------------------------------------------------------------------------------- /Scanner/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Scanner/Main.cpp -------------------------------------------------------------------------------- /Scanner/Main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Scanner/Main.h -------------------------------------------------------------------------------- /Scanner/Scanner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Scanner/Scanner.cpp -------------------------------------------------------------------------------- /Scanner/Scanner.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Scanner/Scanner.vcxproj -------------------------------------------------------------------------------- /Scanner/Scanner.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Scanner/Scanner.vcxproj.filters -------------------------------------------------------------------------------- /Scanner/Token.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Scanner/Token.cpp -------------------------------------------------------------------------------- /Scanner/Token.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Scanner/Token.h -------------------------------------------------------------------------------- /Yulang.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcornPublishing/crafting-compiler/HEAD/Yulang.sln --------------------------------------------------------------------------------