├── .gitattributes ├── .gitignore ├── README.md ├── TinyCompiler.sln └── TinyCompiler ├── KeyWord ├── KeyWord.cpp └── KeyWord.h ├── Profiler ├── Profiler.cpp └── Profiler.h ├── Scanner ├── Scanner.cpp └── Scanner.h ├── StatementNode ├── CheckStatementNode │ ├── CheckStatementNode.h │ └── IFCheckStatementNode.h ├── LoopStatementNode │ ├── FORLoopStatementNode.h │ ├── LoopStatementNode.h │ └── WHILELoopStatementNode.h ├── SquenceStatementNode │ ├── ArithmeticSquenceStatementNode.h │ ├── AssignSquenceStatementNode.h │ ├── DefineSquenceStatementNode.h │ └── SquenceStatementNode.h ├── StatementNode.h ├── StatementNodeAttr.h └── StatementNodeInclude.h ├── TinyCompiler.vcxproj ├── TinyCompiler.vcxproj.filters ├── Token ├── Token.cpp ├── Token.h ├── TokenAttr.cpp └── TokenAttr.h └── main.cpp /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/README.md -------------------------------------------------------------------------------- /TinyCompiler.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler.sln -------------------------------------------------------------------------------- /TinyCompiler/KeyWord/KeyWord.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/KeyWord/KeyWord.cpp -------------------------------------------------------------------------------- /TinyCompiler/KeyWord/KeyWord.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/KeyWord/KeyWord.h -------------------------------------------------------------------------------- /TinyCompiler/Profiler/Profiler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/Profiler/Profiler.cpp -------------------------------------------------------------------------------- /TinyCompiler/Profiler/Profiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/Profiler/Profiler.h -------------------------------------------------------------------------------- /TinyCompiler/Scanner/Scanner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/Scanner/Scanner.cpp -------------------------------------------------------------------------------- /TinyCompiler/Scanner/Scanner.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/Scanner/Scanner.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/CheckStatementNode/CheckStatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/CheckStatementNode/CheckStatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/CheckStatementNode/IFCheckStatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/CheckStatementNode/IFCheckStatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/LoopStatementNode/FORLoopStatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/LoopStatementNode/FORLoopStatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/LoopStatementNode/LoopStatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/LoopStatementNode/LoopStatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/LoopStatementNode/WHILELoopStatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/LoopStatementNode/WHILELoopStatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/SquenceStatementNode/ArithmeticSquenceStatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/SquenceStatementNode/ArithmeticSquenceStatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/SquenceStatementNode/AssignSquenceStatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/SquenceStatementNode/AssignSquenceStatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/SquenceStatementNode/DefineSquenceStatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/SquenceStatementNode/DefineSquenceStatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/SquenceStatementNode/SquenceStatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/SquenceStatementNode/SquenceStatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/StatementNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/StatementNode.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/StatementNodeAttr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/StatementNodeAttr.h -------------------------------------------------------------------------------- /TinyCompiler/StatementNode/StatementNodeInclude.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/StatementNode/StatementNodeInclude.h -------------------------------------------------------------------------------- /TinyCompiler/TinyCompiler.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/TinyCompiler.vcxproj -------------------------------------------------------------------------------- /TinyCompiler/TinyCompiler.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/TinyCompiler.vcxproj.filters -------------------------------------------------------------------------------- /TinyCompiler/Token/Token.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/Token/Token.cpp -------------------------------------------------------------------------------- /TinyCompiler/Token/Token.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/Token/Token.h -------------------------------------------------------------------------------- /TinyCompiler/Token/TokenAttr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/Token/TokenAttr.cpp -------------------------------------------------------------------------------- /TinyCompiler/Token/TokenAttr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/Token/TokenAttr.h -------------------------------------------------------------------------------- /TinyCompiler/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zouxiaohang/TinyCompiler/HEAD/TinyCompiler/main.cpp --------------------------------------------------------------------------------