├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── Makefile ├── README.md ├── array.c ├── codegen.c ├── compiler.c ├── compiler.h ├── cprocess.c ├── datatype.c ├── expressionable.c ├── fixup.c ├── helper.c ├── helpers ├── buffer.c ├── buffer.h ├── vector.c └── vector.h ├── lex_process.c ├── lexer.c ├── main.c ├── node.c ├── parser.c ├── pc_includes ├── .keep ├── stdarg.h ├── stddef.h ├── stdio.h ├── stdlib.h └── test.h ├── preprocessor ├── native.c ├── preprocessor.c ├── static-include.c └── static-includes │ ├── .keep │ ├── stdarg.c │ └── stddef.c ├── rdefault.c ├── resolver.c ├── scope.c ├── stackframe.c ├── symresolver.c ├── test ├── test.c ├── testing.txt ├── token.c └── validator.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/README.md -------------------------------------------------------------------------------- /array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/array.c -------------------------------------------------------------------------------- /codegen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/codegen.c -------------------------------------------------------------------------------- /compiler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/compiler.c -------------------------------------------------------------------------------- /compiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/compiler.h -------------------------------------------------------------------------------- /cprocess.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/cprocess.c -------------------------------------------------------------------------------- /datatype.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/datatype.c -------------------------------------------------------------------------------- /expressionable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/expressionable.c -------------------------------------------------------------------------------- /fixup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/fixup.c -------------------------------------------------------------------------------- /helper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/helper.c -------------------------------------------------------------------------------- /helpers/buffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/helpers/buffer.c -------------------------------------------------------------------------------- /helpers/buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/helpers/buffer.h -------------------------------------------------------------------------------- /helpers/vector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/helpers/vector.c -------------------------------------------------------------------------------- /helpers/vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/helpers/vector.h -------------------------------------------------------------------------------- /lex_process.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/lex_process.c -------------------------------------------------------------------------------- /lexer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/lexer.c -------------------------------------------------------------------------------- /main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/main.c -------------------------------------------------------------------------------- /node.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/node.c -------------------------------------------------------------------------------- /parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/parser.c -------------------------------------------------------------------------------- /pc_includes/.keep: -------------------------------------------------------------------------------- 1 | .keep -------------------------------------------------------------------------------- /pc_includes/stdarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/pc_includes/stdarg.h -------------------------------------------------------------------------------- /pc_includes/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/pc_includes/stddef.h -------------------------------------------------------------------------------- /pc_includes/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/pc_includes/stdio.h -------------------------------------------------------------------------------- /pc_includes/stdlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/pc_includes/stdlib.h -------------------------------------------------------------------------------- /pc_includes/test.h: -------------------------------------------------------------------------------- 1 | #define ABC 50 -------------------------------------------------------------------------------- /preprocessor/native.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/preprocessor/native.c -------------------------------------------------------------------------------- /preprocessor/preprocessor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/preprocessor/preprocessor.c -------------------------------------------------------------------------------- /preprocessor/static-include.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/preprocessor/static-include.c -------------------------------------------------------------------------------- /preprocessor/static-includes/.keep: -------------------------------------------------------------------------------- 1 | .keep -------------------------------------------------------------------------------- /preprocessor/static-includes/stdarg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/preprocessor/static-includes/stdarg.c -------------------------------------------------------------------------------- /preprocessor/static-includes/stddef.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/preprocessor/static-includes/stddef.c -------------------------------------------------------------------------------- /rdefault.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/rdefault.c -------------------------------------------------------------------------------- /resolver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/resolver.c -------------------------------------------------------------------------------- /scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/scope.c -------------------------------------------------------------------------------- /stackframe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/stackframe.c -------------------------------------------------------------------------------- /symresolver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/symresolver.c -------------------------------------------------------------------------------- /test: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/test.c -------------------------------------------------------------------------------- /testing.txt: -------------------------------------------------------------------------------- 1 | hello -------------------------------------------------------------------------------- /token.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/token.c -------------------------------------------------------------------------------- /validator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/PeachCompiler/HEAD/validator.c --------------------------------------------------------------------------------