├── .gdb_history ├── .github └── workflows │ └── c-cpp.yml ├── .gitignore ├── .vscode └── settings.json ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── TODO.md ├── a.out.o ├── array.c ├── codegen.c ├── compiler.c ├── compiler.h ├── cprocess.c ├── dc_includes ├── stdarg.h ├── stddef.h ├── stdio.h └── stdlib.h ├── expressionable.c ├── fixup.c ├── help_documents └── array explained.txt ├── helper.c ├── helpers ├── buffer.c ├── buffer.h ├── file.c ├── file.h ├── hashmap.c ├── hashmap.h ├── vector.c └── vector.h ├── lex_process.c ├── lexer.c ├── main.c ├── misc.c ├── misc.h ├── native.c ├── node.c ├── parser.c ├── preprocessor ├── native.c ├── preprocessor.c ├── static-includes.c └── static-includes │ ├── stdarg.c │ └── stddef.c ├── rdefault.c ├── resolver.c ├── run.sh ├── scope.c ├── stackframe.c ├── symresolver.c ├── test ├── test.c ├── test.h ├── test.o ├── test_programs ├── argument_asker.c ├── book_program.c ├── calculator.c ├── enter_integer.c ├── is_it_negative.c ├── number_swaper.c └── odd_even.c ├── testing.c ├── tests ├── Makefile ├── build │ ├── .gdb_history │ ├── .keep │ ├── advanced_access │ ├── advanced_exp_parentheses3 │ ├── array_test │ ├── const_char_pointer_test │ ├── multi-variable │ ├── pointer_assignment │ ├── preprocessor_exp_deep_parentheses_test │ ├── preprocessor_multi_definition_with_macro_if │ ├── struct_casted │ └── structure_with_array_get_address ├── test.sh └── units │ ├── .gdb_history │ ├── advanced_access.c │ ├── advanced_exp.c │ ├── advanced_exp_neg.c │ ├── advanced_exp_parentheses.c │ ├── advanced_exp_parentheses2.c │ ├── advanced_exp_parentheses3.c │ ├── array_get_pointer_test.c │ ├── array_test.c │ ├── binary_number_test.c │ ├── bitshift_and_test.c │ ├── bitwise_not_with_addition.c │ ├── break_test.c │ ├── comments_test.c │ ├── const_char_pointer_test.c │ ├── decrement_operator_test.c │ ├── do_while_test.c │ ├── for_loop_test.c │ ├── function_call_test_one_argument.c │ ├── function_call_test_two_arguments.c │ ├── goto_test.c │ ├── hex_test.c │ ├── if_statement_test.c │ ├── logical_not_test.c │ ├── logical_operator_test.c │ ├── long_directive_test.c │ ├── multi-variable.c │ ├── new_line_seperator.c │ ├── offsetof_test.c │ ├── pointer_addition_test.c │ ├── pointer_assignment.c │ ├── pointer_cast_test.c │ ├── preprocessor_advanced_def_exp.c │ ├── preprocessor_concat_test.c │ ├── preprocessor_definition_with_macro_if.c │ ├── preprocessor_elif_test.c │ ├── preprocessor_ifndef_macro.c │ ├── preprocessor_line_macro_test.c │ ├── preprocessor_logical_not_on_keyword.c │ ├── preprocessor_logical_not_test.c │ ├── preprocessor_logical_or_test.c │ ├── preprocessor_macro_defined_test.c │ ├── preprocessor_macro_func_in_if.c │ ├── preprocessor_macro_func_in_if_2.c │ ├── preprocessor_macro_newline_test.c │ ├── preprocessor_macro_string_test.c │ ├── preprocessor_macro_test.c │ ├── preprocessor_nested_if.c │ ├── preprocessor_parentheses_test.c │ ├── preprocessor_typedef_in_def.c │ ├── preprocessor_undef_test.c │ ├── preprocessor_warning_test.c │ ├── printf_test.c │ ├── struct_casted.c │ ├── struct_forward_declr_test.c │ ├── struct_no_name_test.c │ ├── struct_with_declaration_test.c │ ├── structure_array_set_test.c │ ├── structure_pointer_ret_func.c │ ├── structure_test.c │ ├── structure_with_array_get_address.c │ ├── substruct_test.c │ ├── switch_statement_test.c │ ├── tenary_test.c │ ├── typedef_test.c │ ├── union_test.c │ ├── valist_test.c │ ├── variable_assignment.c │ └── while_test.c ├── token.c └── validator.c /.gdb_history: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/.gdb_history -------------------------------------------------------------------------------- /.github/workflows/c-cpp.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/.github/workflows/c-cpp.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/TODO.md -------------------------------------------------------------------------------- /a.out.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/a.out.o -------------------------------------------------------------------------------- /array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/array.c -------------------------------------------------------------------------------- /codegen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/codegen.c -------------------------------------------------------------------------------- /compiler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/compiler.c -------------------------------------------------------------------------------- /compiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/compiler.h -------------------------------------------------------------------------------- /cprocess.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/cprocess.c -------------------------------------------------------------------------------- /dc_includes/stdarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/dc_includes/stdarg.h -------------------------------------------------------------------------------- /dc_includes/stddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/dc_includes/stddef.h -------------------------------------------------------------------------------- /dc_includes/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/dc_includes/stdio.h -------------------------------------------------------------------------------- /dc_includes/stdlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/dc_includes/stdlib.h -------------------------------------------------------------------------------- /expressionable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/expressionable.c -------------------------------------------------------------------------------- /fixup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/fixup.c -------------------------------------------------------------------------------- /help_documents/array explained.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/help_documents/array explained.txt -------------------------------------------------------------------------------- /helper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/helper.c -------------------------------------------------------------------------------- /helpers/buffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/helpers/buffer.c -------------------------------------------------------------------------------- /helpers/buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/helpers/buffer.h -------------------------------------------------------------------------------- /helpers/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/helpers/file.c -------------------------------------------------------------------------------- /helpers/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/helpers/file.h -------------------------------------------------------------------------------- /helpers/hashmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/helpers/hashmap.c -------------------------------------------------------------------------------- /helpers/hashmap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/helpers/hashmap.h -------------------------------------------------------------------------------- /helpers/vector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/helpers/vector.c -------------------------------------------------------------------------------- /helpers/vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/helpers/vector.h -------------------------------------------------------------------------------- /lex_process.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/lex_process.c -------------------------------------------------------------------------------- /lexer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/lexer.c -------------------------------------------------------------------------------- /main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/main.c -------------------------------------------------------------------------------- /misc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/misc.c -------------------------------------------------------------------------------- /misc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/misc.h -------------------------------------------------------------------------------- /native.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/native.c -------------------------------------------------------------------------------- /node.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/node.c -------------------------------------------------------------------------------- /parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/parser.c -------------------------------------------------------------------------------- /preprocessor/native.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/preprocessor/native.c -------------------------------------------------------------------------------- /preprocessor/preprocessor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/preprocessor/preprocessor.c -------------------------------------------------------------------------------- /preprocessor/static-includes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/preprocessor/static-includes.c -------------------------------------------------------------------------------- /preprocessor/static-includes/stdarg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/preprocessor/static-includes/stdarg.c -------------------------------------------------------------------------------- /preprocessor/static-includes/stddef.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/preprocessor/static-includes/stddef.c -------------------------------------------------------------------------------- /rdefault.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/rdefault.c -------------------------------------------------------------------------------- /resolver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/resolver.c -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/run.sh -------------------------------------------------------------------------------- /scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/scope.c -------------------------------------------------------------------------------- /stackframe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/stackframe.c -------------------------------------------------------------------------------- /symresolver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/symresolver.c -------------------------------------------------------------------------------- /test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test -------------------------------------------------------------------------------- /test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test.c -------------------------------------------------------------------------------- /test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test.h -------------------------------------------------------------------------------- /test.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test.o -------------------------------------------------------------------------------- /test_programs/argument_asker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test_programs/argument_asker.c -------------------------------------------------------------------------------- /test_programs/book_program.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test_programs/book_program.c -------------------------------------------------------------------------------- /test_programs/calculator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test_programs/calculator.c -------------------------------------------------------------------------------- /test_programs/enter_integer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test_programs/enter_integer.c -------------------------------------------------------------------------------- /test_programs/is_it_negative.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test_programs/is_it_negative.c -------------------------------------------------------------------------------- /test_programs/number_swaper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test_programs/number_swaper.c -------------------------------------------------------------------------------- /test_programs/odd_even.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/test_programs/odd_even.c -------------------------------------------------------------------------------- /testing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/testing.c -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/Makefile -------------------------------------------------------------------------------- /tests/build/.gdb_history: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/.gdb_history -------------------------------------------------------------------------------- /tests/build/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/build/advanced_access: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/advanced_access -------------------------------------------------------------------------------- /tests/build/advanced_exp_parentheses3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/advanced_exp_parentheses3 -------------------------------------------------------------------------------- /tests/build/array_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/array_test -------------------------------------------------------------------------------- /tests/build/const_char_pointer_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/const_char_pointer_test -------------------------------------------------------------------------------- /tests/build/multi-variable: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/multi-variable -------------------------------------------------------------------------------- /tests/build/pointer_assignment: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/pointer_assignment -------------------------------------------------------------------------------- /tests/build/preprocessor_exp_deep_parentheses_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/preprocessor_exp_deep_parentheses_test -------------------------------------------------------------------------------- /tests/build/preprocessor_multi_definition_with_macro_if: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/preprocessor_multi_definition_with_macro_if -------------------------------------------------------------------------------- /tests/build/struct_casted: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/struct_casted -------------------------------------------------------------------------------- /tests/build/structure_with_array_get_address: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/build/structure_with_array_get_address -------------------------------------------------------------------------------- /tests/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/test.sh -------------------------------------------------------------------------------- /tests/units/.gdb_history: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/units/advanced_access.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/advanced_access.c -------------------------------------------------------------------------------- /tests/units/advanced_exp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/advanced_exp.c -------------------------------------------------------------------------------- /tests/units/advanced_exp_neg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/advanced_exp_neg.c -------------------------------------------------------------------------------- /tests/units/advanced_exp_parentheses.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/advanced_exp_parentheses.c -------------------------------------------------------------------------------- /tests/units/advanced_exp_parentheses2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/advanced_exp_parentheses2.c -------------------------------------------------------------------------------- /tests/units/advanced_exp_parentheses3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/advanced_exp_parentheses3.c -------------------------------------------------------------------------------- /tests/units/array_get_pointer_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/array_get_pointer_test.c -------------------------------------------------------------------------------- /tests/units/array_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/array_test.c -------------------------------------------------------------------------------- /tests/units/binary_number_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/binary_number_test.c -------------------------------------------------------------------------------- /tests/units/bitshift_and_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/bitshift_and_test.c -------------------------------------------------------------------------------- /tests/units/bitwise_not_with_addition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/bitwise_not_with_addition.c -------------------------------------------------------------------------------- /tests/units/break_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/break_test.c -------------------------------------------------------------------------------- /tests/units/comments_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/comments_test.c -------------------------------------------------------------------------------- /tests/units/const_char_pointer_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/const_char_pointer_test.c -------------------------------------------------------------------------------- /tests/units/decrement_operator_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/decrement_operator_test.c -------------------------------------------------------------------------------- /tests/units/do_while_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/do_while_test.c -------------------------------------------------------------------------------- /tests/units/for_loop_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/for_loop_test.c -------------------------------------------------------------------------------- /tests/units/function_call_test_one_argument.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/function_call_test_one_argument.c -------------------------------------------------------------------------------- /tests/units/function_call_test_two_arguments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/function_call_test_two_arguments.c -------------------------------------------------------------------------------- /tests/units/goto_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/goto_test.c -------------------------------------------------------------------------------- /tests/units/hex_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/hex_test.c -------------------------------------------------------------------------------- /tests/units/if_statement_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/if_statement_test.c -------------------------------------------------------------------------------- /tests/units/logical_not_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/logical_not_test.c -------------------------------------------------------------------------------- /tests/units/logical_operator_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/logical_operator_test.c -------------------------------------------------------------------------------- /tests/units/long_directive_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/long_directive_test.c -------------------------------------------------------------------------------- /tests/units/multi-variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/multi-variable.c -------------------------------------------------------------------------------- /tests/units/new_line_seperator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/new_line_seperator.c -------------------------------------------------------------------------------- /tests/units/offsetof_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/offsetof_test.c -------------------------------------------------------------------------------- /tests/units/pointer_addition_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/pointer_addition_test.c -------------------------------------------------------------------------------- /tests/units/pointer_assignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/pointer_assignment.c -------------------------------------------------------------------------------- /tests/units/pointer_cast_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/pointer_cast_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_advanced_def_exp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_advanced_def_exp.c -------------------------------------------------------------------------------- /tests/units/preprocessor_concat_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_concat_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_definition_with_macro_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_definition_with_macro_if.c -------------------------------------------------------------------------------- /tests/units/preprocessor_elif_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_elif_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_ifndef_macro.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_ifndef_macro.c -------------------------------------------------------------------------------- /tests/units/preprocessor_line_macro_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_line_macro_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_logical_not_on_keyword.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_logical_not_on_keyword.c -------------------------------------------------------------------------------- /tests/units/preprocessor_logical_not_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_logical_not_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_logical_or_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_logical_or_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_macro_defined_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_macro_defined_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_macro_func_in_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_macro_func_in_if.c -------------------------------------------------------------------------------- /tests/units/preprocessor_macro_func_in_if_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_macro_func_in_if_2.c -------------------------------------------------------------------------------- /tests/units/preprocessor_macro_newline_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_macro_newline_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_macro_string_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_macro_string_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_macro_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_macro_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_nested_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_nested_if.c -------------------------------------------------------------------------------- /tests/units/preprocessor_parentheses_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_parentheses_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_typedef_in_def.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_typedef_in_def.c -------------------------------------------------------------------------------- /tests/units/preprocessor_undef_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/preprocessor_undef_test.c -------------------------------------------------------------------------------- /tests/units/preprocessor_warning_test.c: -------------------------------------------------------------------------------- 1 | #warning "DWWEIGJ wemigwie" \ 2 | ABC 3 | 4 | int main() 5 | { 6 | return 22; 7 | } -------------------------------------------------------------------------------- /tests/units/printf_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/printf_test.c -------------------------------------------------------------------------------- /tests/units/struct_casted.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/struct_casted.c -------------------------------------------------------------------------------- /tests/units/struct_forward_declr_test.c: -------------------------------------------------------------------------------- 1 | struct abc; 2 | 3 | int main() 4 | { 5 | return 22; 6 | } -------------------------------------------------------------------------------- /tests/units/struct_no_name_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/struct_no_name_test.c -------------------------------------------------------------------------------- /tests/units/struct_with_declaration_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/struct_with_declaration_test.c -------------------------------------------------------------------------------- /tests/units/structure_array_set_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/structure_array_set_test.c -------------------------------------------------------------------------------- /tests/units/structure_pointer_ret_func.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/structure_pointer_ret_func.c -------------------------------------------------------------------------------- /tests/units/structure_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/structure_test.c -------------------------------------------------------------------------------- /tests/units/structure_with_array_get_address.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/structure_with_array_get_address.c -------------------------------------------------------------------------------- /tests/units/substruct_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/substruct_test.c -------------------------------------------------------------------------------- /tests/units/switch_statement_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/switch_statement_test.c -------------------------------------------------------------------------------- /tests/units/tenary_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/tenary_test.c -------------------------------------------------------------------------------- /tests/units/typedef_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/typedef_test.c -------------------------------------------------------------------------------- /tests/units/union_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/union_test.c -------------------------------------------------------------------------------- /tests/units/valist_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/valist_test.c -------------------------------------------------------------------------------- /tests/units/variable_assignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/variable_assignment.c -------------------------------------------------------------------------------- /tests/units/while_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/tests/units/while_test.c -------------------------------------------------------------------------------- /token.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/token.c -------------------------------------------------------------------------------- /validator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nibblebits/DragonCompiler/HEAD/validator.c --------------------------------------------------------------------------------