├── .circleci └── config.yml ├── .clang-format ├── .github └── workflows │ └── html-validate.yml ├── .gitignore ├── CMakeLists.txt ├── LICENSE ├── Makefile ├── README.md ├── ast ├── .gitignore ├── CMakeLists.txt ├── ast.h ├── ast │ ├── ast_const.h │ ├── ast_enum.h │ ├── ast_expr.h │ ├── ast_stmts.h │ ├── ast_struct.h │ ├── ast_subr.h │ ├── ast_types.h │ └── ast_var.h ├── ast_declare.h ├── sd_inttype.h ├── test │ ├── CMakeLists.txt │ ├── test_str_ast.c │ └── test_str_ast.h ├── util │ ├── copy_ast.c │ ├── copy_ast.h │ ├── equals_ast.c │ ├── equals_ast.h │ ├── free_ast.c │ ├── free_ast.h │ ├── str_ast.c │ └── str_ast.h └── visitor │ ├── visitor.c │ └── visitor.h ├── check-format.sh ├── compiler ├── .gitignore ├── CMakeLists.txt ├── Makefile ├── main │ ├── CMakeLists.txt │ ├── analyzer │ │ ├── annotation │ │ │ ├── annotation_analyzer.c │ │ │ └── annotation_analyzer.h │ │ ├── data │ │ │ ├── data_analyzer.c │ │ │ └── data_analyzer.h │ │ ├── dead │ │ │ ├── dead.h │ │ │ ├── dead_analyzer.c │ │ │ └── dead_analyzer.h │ │ ├── fn │ │ │ ├── fn_analyzer.c │ │ │ └── fn_analyzer.h │ │ ├── halts │ │ │ ├── halt_analyzer.c │ │ │ ├── halt_analyzer.h │ │ │ └── halts.h │ │ └── lv │ │ │ ├── lv_analyzer.c │ │ │ └── lv_analyzer.h │ ├── avr_code_gen │ │ ├── cg_avr.c │ │ ├── cg_avr.h │ │ ├── cg_avr_basic_block.c │ │ ├── cg_avr_basic_block.h │ │ ├── cg_avr_single_function.c │ │ ├── cg_avr_single_function.h │ │ ├── cg_avr_single_tac.c │ │ ├── cg_avr_single_tac.h │ │ └── compile_ir │ │ │ ├── compile_tac.h │ │ │ ├── compile_tac_binary_op.c │ │ │ ├── compile_tac_call.c │ │ │ ├── compile_tac_const_value.c │ │ │ ├── compile_tac_copy.c │ │ │ ├── compile_tac_goto.c │ │ │ ├── compile_tac_if_cmp_goto.c │ │ │ ├── compile_tac_if_goto.c │ │ │ ├── compile_tac_label.c │ │ │ ├── compile_tac_load.c │ │ │ ├── compile_tac_load_local_addr.c │ │ │ ├── compile_tac_nop.c │ │ │ ├── compile_tac_param.c │ │ │ ├── compile_tac_return.c │ │ │ ├── compile_tac_setup_sp.c │ │ │ ├── compile_tac_setup_stackframe.c │ │ │ ├── compile_tac_store.c │ │ │ ├── compile_tac_store_local.c │ │ │ └── compile_tac_unary_op.c │ ├── basic_block │ │ ├── basicblock.c │ │ ├── basicblock.h │ │ ├── basicblock_printer.c │ │ └── basicblock_printer.h │ ├── cli │ │ ├── flags │ │ │ ├── all_flags.c │ │ │ ├── all_flags.h │ │ │ ├── flag.h │ │ │ ├── flags.c │ │ │ ├── flags.h │ │ │ ├── validate_flags.c │ │ │ └── validate_flags.h │ │ └── main.c │ ├── compiler.c │ ├── compiler.h │ ├── derefll │ │ ├── derefll.c │ │ └── derefll.h │ ├── gen_tac │ │ ├── gen_tac.c │ │ ├── gen_tac.h │ │ ├── gen_tac_address_of.c │ │ ├── gen_tac_assignstmt.c │ │ ├── gen_tac_call.c │ │ ├── gen_tac_const_data.c │ │ ├── gen_tac_constvalue.c │ │ ├── gen_tac_deref.c │ │ ├── gen_tac_expr.c │ │ ├── gen_tac_forstmt.c │ │ ├── gen_tac_ifstmt.c │ │ ├── gen_tac_retstmt.c │ │ ├── gen_tac_simplevar.c │ │ ├── gen_tac_stmt.c │ │ ├── gen_tac_term.c │ │ ├── gen_tac_unopterm.c │ │ ├── gen_tac_variable.c │ │ ├── gen_tac_whilestmt.c │ │ ├── helper_gen_tac_derefll.c │ │ └── helper_gen_tac_derefll.h │ ├── liveness │ │ ├── liveness.c │ │ └── liveness.h │ ├── typechecker │ │ ├── _tc.h │ │ ├── tc_address_of.c │ │ ├── tc_assignstmt.c │ │ ├── tc_deref.c │ │ ├── tc_expr.c │ │ ├── tc_forstmt.c │ │ ├── tc_ifstmt.c │ │ ├── tc_local_var_decl_stmt.c │ │ ├── tc_method.c │ │ ├── tc_methodcall.c │ │ ├── tc_range.c │ │ ├── tc_retstmt.c │ │ ├── tc_simplevar.c │ │ ├── tc_stmts.c │ │ ├── tc_term.c │ │ ├── tc_unopterm.c │ │ ├── tc_var.c │ │ ├── tc_whilestmt.c │ │ ├── tcctx.h │ │ ├── type_contains │ │ │ ├── tc_arraytype_contains.c │ │ │ ├── tc_basictype_contains.c │ │ │ ├── tc_pointertype_contains.c │ │ │ ├── tc_primitivetype_contains.c │ │ │ ├── tc_simpletype_contains.c │ │ │ ├── tc_structtype_contains.c │ │ │ ├── tc_subrtype_contains.c │ │ │ ├── tc_type_contains.c │ │ │ └── tc_type_contains.h │ │ ├── typecheck.c │ │ ├── typecheck.h │ │ └── util │ │ │ ├── tc_errors.c │ │ │ ├── tc_errors.h │ │ │ ├── tc_utils.c │ │ │ └── tc_utils.h │ ├── typeinference │ │ ├── infer_in_context.c │ │ ├── typeinfer.c │ │ ├── typeinfer.h │ │ ├── typeinfer_address_of.c │ │ ├── typeinfer_const.c │ │ ├── typeinfer_deref.c │ │ ├── typeinfer_expr.c │ │ ├── typeinfer_lvalue.c │ │ ├── typeinfer_methodcall.c │ │ ├── typeinfer_simplevar.c │ │ ├── typeinfer_term.c │ │ ├── typeinfer_var.c │ │ └── util │ │ │ ├── type_str.c │ │ │ └── type_str.h │ ├── util │ │ ├── ctx.c │ │ ├── ctx.h │ │ ├── fileutils │ │ │ ├── fileutils.c │ │ │ └── fileutils.h │ │ ├── fill_tables.c │ │ └── fill_tables.h │ └── x86_code_gen │ │ ├── allocate_registers_x86.c │ │ ├── allocate_registers_x86.h │ │ ├── cg_x86.c │ │ ├── cg_x86.h │ │ ├── cg_x86_basic_block.c │ │ ├── cg_x86_basic_block.h │ │ ├── cg_x86_single_function.c │ │ ├── cg_x86_single_function.h │ │ ├── cg_x86_single_tac.c │ │ ├── cg_x86_single_tac.h │ │ ├── compile_ir │ │ ├── compile_tac.h │ │ ├── compile_tac_binary_op.c │ │ ├── compile_tac_call.c │ │ ├── compile_tac_const_data.c │ │ ├── compile_tac_const_value.c │ │ ├── compile_tac_copy.c │ │ ├── compile_tac_goto.c │ │ ├── compile_tac_icall.c │ │ ├── compile_tac_if_cmp_goto.c │ │ ├── compile_tac_if_goto.c │ │ ├── compile_tac_label.c │ │ ├── compile_tac_load.c │ │ ├── compile_tac_load_function_ptr.c │ │ ├── compile_tac_load_local_addr.c │ │ ├── compile_tac_nop.c │ │ ├── compile_tac_param.c │ │ ├── compile_tac_return.c │ │ ├── compile_tac_setup_stackframe.c │ │ ├── compile_tac_store.c │ │ ├── compile_tac_store_local.c │ │ └── compile_tac_unary_op.c │ │ └── syscalls │ │ ├── syscalls.c │ │ ├── syscalls.h │ │ └── table.c └── test │ ├── CMakeLists.txt │ ├── avr_code_gen │ ├── compile_ir │ │ ├── test_compile_tac.h │ │ ├── test_compile_tac_binary_op.c │ │ ├── test_compile_tac_call.c │ │ ├── test_compile_tac_const_value.c │ │ ├── test_compile_tac_copy.c │ │ ├── test_compile_tac_goto.c │ │ ├── test_compile_tac_if_cmp_goto.c │ │ ├── test_compile_tac_if_goto.c │ │ ├── test_compile_tac_load.c │ │ ├── test_compile_tac_nop.c │ │ ├── test_compile_tac_param.c │ │ ├── test_compile_tac_return.c │ │ ├── test_compile_tac_setup_sp.c │ │ ├── test_compile_tac_setup_stackframe.c │ │ ├── test_compile_tac_store.c │ │ └── test_compile_tac_unary_op.c │ ├── test_avr_code_gen.c │ ├── test_avr_code_gen.h │ ├── test_avr_code_gen_util.c │ ├── test_avr_code_gen_util.h │ └── timer │ │ ├── test_avr_code_gen_timer.c │ │ └── test_avr_code_gen_timer.h │ ├── gen_tac │ ├── test_gen_tac.c │ ├── test_gen_tac.h │ ├── test_gen_tac_assignstmt.c │ ├── test_gen_tac_call.c │ ├── test_gen_tac_deref.c │ ├── test_gen_tac_expr.c │ ├── test_gen_tac_forstmt.c │ ├── test_gen_tac_ifstmt.c │ ├── test_gen_tac_simplevar.c │ ├── test_gen_tac_structdecl.c │ ├── test_gen_tac_variable.c │ ├── test_gen_tac_whilestmt.c │ └── util │ │ └── test_gen_tac_util.c │ ├── libvmcu_utils │ ├── libvmcu_utils.c │ └── libvmcu_utils.h │ ├── liveness │ ├── test_liveness.c │ ├── test_liveness.h │ ├── test_liveness_def.c │ ├── test_liveness_in.c │ ├── test_liveness_out.c │ └── test_liveness_use.c │ ├── test.c │ ├── testcases.c │ ├── typechecker │ ├── test-src │ │ ├── all_errors.dg │ │ ├── assign_primitive.dg │ │ ├── binop_type_mismatch.dg │ │ ├── condition_requires_bool.dg │ │ ├── impure_called_in_pure.dg │ │ ├── index_not_found.dg │ │ ├── local_var_not_a_subroutine.dg │ │ ├── no_return_stmt.dg │ │ ├── range_requires_int.dg │ │ ├── subr_not_found.dg │ │ ├── switch_case_type_mismatch.dg │ │ ├── switch_requires_primitive.dg │ │ ├── too_many_indices.dg │ │ ├── var_not_found.dg │ │ ├── wrong_number_of_args.dg │ │ ├── wrong_op_unop.dg │ │ ├── wrong_return_type.dg │ │ └── wrong_type_of_arg.dg │ ├── test_typechecker.c │ ├── test_typechecker.h │ ├── test_typechecker_util.c │ └── test_typechecker_util.h │ ├── typeinference │ ├── test-src │ │ ├── infer_type_call_with_array_access.dg │ │ ├── infer_type_call_with_struct_member_access.dg │ │ ├── infer_type_expr.dg │ │ ├── infer_type_expr_multiple_terms.dg │ │ ├── infer_type_ptr_arithmetic.dg │ │ ├── infer_type_return_type_subroutine.dg │ │ ├── infer_type_simplevar_no_indices.dg │ │ ├── infer_type_simplevar_with_indices.dg │ │ ├── infer_type_term.dg │ │ ├── infer_type_type_param.dg │ │ ├── infer_type_unopterm.dg │ │ └── infer_type_var_with_member_access.dg │ ├── test_typeinference.c │ ├── test_typeinference.h │ ├── test_typeinference_util.c │ └── test_typeinference_util.h │ └── x86_code_gen │ ├── compile_ir │ ├── test_compile_tac.h │ ├── test_compile_tac_binary_op.c │ ├── test_compile_tac_call.c │ ├── test_compile_tac_const_value.c │ ├── test_compile_tac_copy.c │ ├── test_compile_tac_goto.c │ ├── test_compile_tac_if_cmp_goto.c │ ├── test_compile_tac_if_goto.c │ ├── test_compile_tac_load.c │ ├── test_compile_tac_nop.c │ ├── test_compile_tac_param.c │ ├── test_compile_tac_return.c │ ├── test_compile_tac_store.c │ ├── test_compile_tac_store_local.c │ └── test_compile_tac_unary_op.c │ ├── fake_lvst.c │ ├── fake_lvst.h │ ├── test_x86_code_gen.c │ ├── test_x86_code_gen.h │ ├── test_x86_code_gen_util.c │ └── test_x86_code_gen_util.h ├── dependencies ├── .gitignore └── Makefile ├── docs ├── _headers ├── css │ └── style.css ├── googlec8c33fc0ae3784b9.html ├── html │ ├── annotations.html │ ├── architecture.html │ ├── avr-backend.html │ ├── calling-convention.html │ ├── contributing.html │ ├── controlflow.html │ ├── editor-support.html │ ├── grammar.html │ ├── local-var-typeinference.html │ ├── operators.html │ ├── optimizer.html │ ├── primitives.html │ ├── project-goals.html │ ├── rat.html │ ├── skeleton.html │ ├── stdlib.html │ ├── structs.html │ ├── subroutines.html │ └── tac.html ├── img │ ├── dragon-logo.svg │ ├── favicon.ico │ ├── rat-x86.svg │ ├── rat.svg │ └── transpiler.svg └── index.html ├── examples ├── .gitignore ├── Makefile ├── array │ ├── array.dg │ └── array2.dg ├── assert_examples.sh ├── enum │ ├── enum_hex_value │ │ ├── enum_hex_value.dg │ │ └── enum_hex_value.exitcode │ └── simple_enum │ │ ├── simple_enum.dg │ │ └── simple_enum.exitcode ├── externc │ ├── Makefile │ ├── caller.dg │ ├── f1.c │ ├── params │ │ ├── Makefile │ │ └── caller_params.dg │ └── return-value │ │ ├── Makefile │ │ └── caller.dg ├── ifstatement │ ├── false.dg │ ├── false.exitcode │ ├── true.dg │ └── true.exitcode ├── led_blink_no_timer │ ├── Makefile │ └── led_blink_no_timer.dg ├── led_blink_timer │ ├── Makefile │ └── led_blink.dg ├── local_variables │ ├── simple.dg │ └── simple.exitcode ├── loops │ ├── forloop │ │ ├── forloop.dg │ │ └── forloop.exitcode │ └── whileloop │ │ ├── whileloop.dg │ │ └── whileloop.exitcode ├── mathematics │ ├── div │ │ ├── div.dg │ │ └── div.exitcode │ ├── div_int │ │ ├── div_int.dg │ │ └── div_int.exitcode │ ├── fibonacci_11.dg │ ├── fibonacci_11.exitcode │ ├── fibonacci_3.dg │ ├── fibonacci_3.exitcode │ ├── fibonacci_4.dg │ ├── fibonacci_4.exitcode │ ├── fibonacci_5.dg │ ├── fibonacci_5.exitcode │ ├── fibonacci_6.dg │ ├── fibonacci_6.exitcode │ └── modulus │ │ ├── mod.dg │ │ └── mod.exitcode ├── methodCalls │ ├── 3-deep │ │ ├── 3deep.dg │ │ └── 3deep.exitcode │ ├── add │ │ ├── add_16.dg │ │ ├── add_16.exitcode │ │ ├── add_32.dg │ │ ├── add_32.exitcode │ │ ├── add_64.dg │ │ ├── add_64.exitcode │ │ ├── add_8.dg │ │ └── add_8.exitcode │ ├── call_as_arg │ │ ├── call_as_arg.dg │ │ └── call_as_arg.exitcode │ ├── function_ptr │ │ ├── function_ptr.dg │ │ └── function_ptr.exitcode │ ├── function_ptr_with_arg │ │ ├── function_ptr_with_arg.dg │ │ └── function_ptr_with_arg.exitcode │ ├── pass_function_ptr │ │ ├── pass_function_ptr.dg │ │ └── pass_function_ptr.exitcode │ └── recursion │ │ ├── recursion.dg │ │ └── recursion.exitcode ├── octal │ ├── octal_notation.dg │ └── octal_notation.exitcode ├── other │ └── everything.dg ├── pointer_type │ ├── address_of_deref │ │ ├── address_of_deref.dg │ │ └── address_of_deref.exitcode │ ├── deref_assignment │ │ ├── deref_assignment.dg │ │ └── deref_assignment.exitcode │ ├── deref_of_address │ │ ├── deref_of_address.dg │ │ └── deref_of_address.exitcode │ ├── deref_once │ │ ├── deref_pointer.dg │ │ └── deref_pointer.exitcode │ ├── pass_to_function │ │ ├── pass_to_function.dg │ │ └── pass_to_function.exitcode │ ├── pass_to_function_deref_assign │ │ ├── pass_to_function_deref_assign.dg │ │ └── pass_to_function_deref_assign.exitcode │ ├── pass_to_function_twice │ │ ├── pass_to_function_twice.dg │ │ └── pass_to_function_twice.exitcode │ └── twice │ │ ├── deref_twice.dg │ │ └── deref_twice.exitcode ├── portb │ ├── Makefile │ └── test_portb.dg ├── stdlib │ ├── base │ │ ├── allocator │ │ │ ├── alloc_0_bytes │ │ │ │ ├── alloc_0_bytes.dg │ │ │ │ ├── alloc_0_bytes.exitcode │ │ │ │ └── alloc_0_bytes.stdlib │ │ │ ├── calloc_test │ │ │ │ ├── calloc_test.dg │ │ │ │ ├── calloc_test.exitcode │ │ │ │ ├── calloc_test.stdlib │ │ │ │ └── calloc_test.stdout │ │ │ ├── loop_test │ │ │ │ ├── loop_test.dg │ │ │ │ ├── loop_test.exitcode │ │ │ │ └── loop_test.stdlib │ │ │ ├── memcpy_test │ │ │ │ ├── memcpy_test.dg │ │ │ │ ├── memcpy_test.exitcode │ │ │ │ ├── memcpy_test.stdlib │ │ │ │ └── memcpy_test.stdout │ │ │ ├── no_overlap │ │ │ │ ├── no_overlap.dg │ │ │ │ ├── no_overlap.exitcode │ │ │ │ └── no_overlap.stdlib │ │ │ ├── realloc_test │ │ │ │ ├── realloc_test.dg │ │ │ │ ├── realloc_test.exitcode │ │ │ │ └── realloc_test.stdlib │ │ │ └── use_allocator │ │ │ │ ├── use_allocator.dg │ │ │ │ ├── use_allocator.exitcode │ │ │ │ └── use_allocator.stdlib │ │ ├── string │ │ │ ├── streq │ │ │ │ ├── test_streq.dg │ │ │ │ ├── test_streq.exitcode │ │ │ │ └── test_streq.stdlib │ │ │ └── strlen │ │ │ │ ├── test_strlen.dg │ │ │ │ ├── test_strlen.exitcode │ │ │ │ └── test_strlen.stdlib │ │ ├── test_string.dg │ │ ├── test_string.stdlib │ │ └── test_string.stdout │ ├── draw │ │ ├── svg │ │ │ ├── test_svg.dg │ │ │ ├── test_svg.exitcode │ │ │ ├── test_svg.stdlib │ │ │ └── test_svg.stdout │ │ ├── testdraw.dg │ │ ├── testdraw.stdlib │ │ └── testdraw.stdout │ └── syscalls │ │ ├── exit │ │ ├── exit.dg │ │ ├── exit.exitcode │ │ └── exit.stdlib │ │ ├── mmap │ │ ├── use_mmap.dg │ │ ├── use_mmap.exitcode │ │ └── use_mmap.stdlib │ │ ├── read_file │ │ ├── read_file.dg │ │ ├── read_file.stdlib │ │ └── read_file.stdout │ │ ├── write │ │ ├── write_stdout.dg │ │ ├── write_stdout.exitcode │ │ ├── write_stdout.stdlib │ │ └── write_stdout.stdout │ │ ├── write_file │ │ ├── write_file.dg │ │ ├── write_file.exitcode │ │ └── write_file.stdlib │ │ └── write_string │ │ ├── write_string.dg │ │ ├── write_string.exitcode │ │ ├── write_string.stdlib │ │ └── write_string.stdout ├── struct │ ├── nested │ │ ├── nested.dg │ │ └── nested.exitcode │ ├── struct_and_array │ │ ├── struct_and_array.dg │ │ ├── struct_and_array.exitcode │ │ └── struct_and_array.stdlib │ ├── struct_on_heap │ │ ├── struct_on_heap.dg │ │ ├── struct_on_heap.exitcode │ │ ├── struct_on_heap.stdlib │ │ └── struct_on_heap.stdout │ ├── struct_on_stack │ │ ├── one_member.dg │ │ ├── one_member.exitcode │ │ ├── two_member.dg │ │ └── two_member.exitcode │ └── very_nested │ │ ├── very_nested.dg │ │ └── very_nested.exitcode ├── tc_err.dg ├── typeinference │ └── localvartypeinference.dg └── usart │ ├── Makefile │ └── main.dg ├── format-code.sh ├── ibuffer ├── CMakeLists.txt ├── ibuffer.c ├── ibuffer_avr.h ├── ibuffer_write.c ├── ibuffer_write.h ├── ibuffer_x86.h ├── ikey.h └── mnem.c ├── lexer ├── .gitignore ├── CMakeLists.txt ├── src │ ├── CMakeLists.txt │ ├── driver.c │ ├── driver.h │ ├── lexer.c │ ├── lexer.h │ ├── lexer_flags.h │ ├── lexer_main.c │ └── lexer_main.h └── test │ ├── CMakeLists.txt │ ├── lexer_test_utils.c │ ├── lexer_test_utils.h │ ├── test.c │ ├── test.h │ └── testcases │ ├── tests_comments.c │ ├── tests_const.c │ ├── tests_keywords.c │ ├── tests_mixed.c │ ├── tests_operators.c │ └── tests_other.c ├── parser ├── .gitignore ├── CMakeLists.txt ├── main │ ├── CMakeLists.txt │ ├── astnodes │ │ ├── EnumDecl.c │ │ ├── EnumDecl.h │ │ ├── EnumMember.c │ │ ├── EnumMember.h │ │ ├── Identifier.c │ │ ├── Identifier.h │ │ ├── Namespace.c │ │ ├── Namespace.h │ │ ├── Range.c │ │ ├── Range.h │ │ ├── StmtBlock.c │ │ ├── StmtBlock.h │ │ ├── const │ │ │ ├── ConstValue.c │ │ │ ├── ConstValue.h │ │ │ ├── IntConst.c │ │ │ ├── IntConst.h │ │ │ ├── StringConst.c │ │ │ └── StringConst.h │ │ ├── expr │ │ │ ├── AddressOf.c │ │ │ ├── AddressOf.h │ │ │ ├── Deref.c │ │ │ ├── Deref.h │ │ │ ├── Expr.c │ │ │ ├── Expr.h │ │ │ ├── LValue.c │ │ │ ├── LValue.h │ │ │ ├── Op.c │ │ │ ├── Op.h │ │ │ ├── Term.c │ │ │ ├── Term.h │ │ │ ├── UnOpTerm.c │ │ │ └── UnOpTerm.h │ │ ├── statements │ │ │ ├── AssignStmt.c │ │ │ ├── AssignStmt.h │ │ │ ├── Call.c │ │ │ ├── Call.h │ │ │ ├── ForStmt.c │ │ │ ├── ForStmt.h │ │ │ ├── IfStmt.c │ │ │ ├── IfStmt.h │ │ │ ├── LocalVarDeclStmt.c │ │ │ ├── LocalVarDeclStmt.h │ │ │ ├── RetStmt.c │ │ │ ├── RetStmt.h │ │ │ ├── Stmt.c │ │ │ ├── Stmt.h │ │ │ ├── WhileStmt.c │ │ │ └── WhileStmt.h │ │ ├── struct │ │ │ ├── StructDecl.c │ │ │ ├── StructDecl.h │ │ │ ├── StructMember.c │ │ │ └── StructMember.h │ │ ├── subr │ │ │ ├── DeclArg.c │ │ │ ├── DeclArg.h │ │ │ ├── Method.c │ │ │ ├── Method.h │ │ │ ├── MethodDecl.c │ │ │ └── MethodDecl.h │ │ ├── types │ │ │ ├── ArrayType.c │ │ │ ├── ArrayType.h │ │ │ ├── BasicType.c │ │ │ ├── BasicType.h │ │ │ ├── PointerType.c │ │ │ ├── PointerType.h │ │ │ ├── PrimitiveType.c │ │ │ ├── PrimitiveType.h │ │ │ ├── SimpleType.c │ │ │ ├── SimpleType.h │ │ │ ├── StructType.c │ │ │ ├── StructType.h │ │ │ ├── SubrType.c │ │ │ ├── SubrType.h │ │ │ ├── Type.c │ │ │ ├── Type.h │ │ │ ├── TypeParam.c │ │ │ └── TypeParam.h │ │ └── var │ │ │ ├── SimpleVar.c │ │ │ ├── SimpleVar.h │ │ │ ├── Variable.c │ │ │ └── Variable.h │ └── util │ │ ├── parse_astnode.c │ │ ├── parse_astnode.h │ │ ├── parser.c │ │ └── parser.h ├── spec │ ├── proposed_grammar_changes.txt │ └── thought_about_grammar.txt └── test │ ├── CMakeLists.txt │ ├── astnodes │ ├── NamespaceTest.c │ ├── NamespaceTest.h │ ├── RangeTest.c │ ├── RangeTest.h │ ├── StmtBlockTest.c │ ├── StmtBlockTest.h │ ├── const │ │ ├── ConstValueTest.c │ │ └── ConstValueTest.h │ ├── expr │ │ ├── AddressOfTest.c │ │ ├── DerefTest.c │ │ ├── ExprTest.c │ │ ├── ParseExprTests.h │ │ ├── TermTest.c │ │ └── UnOpTermTest.c │ ├── statements │ │ ├── AssignStmtTest.c │ │ ├── AssignStmtTest.h │ │ ├── CallTest.c │ │ ├── CallTest.h │ │ ├── CaseStmtTest.c │ │ ├── CaseStmtTest.h │ │ ├── ForStmtTest.c │ │ ├── ForStmtTest.h │ │ ├── IfStmtTest.c │ │ ├── IfStmtTest.h │ │ ├── RetStmtTest.c │ │ ├── RetStmtTest.h │ │ ├── StmtTest.c │ │ ├── StmtTest.h │ │ ├── WhileStmtTest.c │ │ └── WhileStmtTest.h │ ├── struct │ │ ├── StructDeclTest.c │ │ ├── StructDeclTest.h │ │ ├── StructMemberTest.c │ │ └── StructMemberTest.h │ ├── subr │ │ ├── DeclArgTest.c │ │ ├── DeclArgTest.h │ │ ├── MethodTest.c │ │ └── MethodTest.h │ ├── types │ │ ├── BasicTypeTest.c │ │ ├── ParseTypeTests.h │ │ ├── PointerTypeTest.c │ │ ├── SimpleTypeTest.c │ │ ├── StructTypeTest.c │ │ └── SubrTypeTest.c │ └── var │ │ ├── SimpleVarTest.c │ │ ├── SimpleVarTest.h │ │ ├── VariableTest.c │ │ └── VariableTest.h │ ├── commandline │ ├── ParserTest.c │ └── test.h │ ├── test_parser_util.c │ └── test_parser_util.h ├── rat ├── .gitignore ├── CMakeLists.txt ├── _struct.h ├── rat.c ├── rat.h ├── rat_avr.c ├── rat_x86.c ├── rat_x86.h ├── register.h └── test │ ├── CMakeLists.txt │ ├── test.c │ └── test.h ├── spec ├── coding-style.txt └── types │ ├── generics.txt │ └── transiently-typed.txt ├── stdlib ├── .gitignore ├── Makefile ├── avr │ ├── atmega328p.dg │ ├── portb.dg │ ├── timer0.dg │ └── usart.dg ├── base │ ├── allocator.dg │ ├── assert.dg │ ├── math.dg │ ├── polynomial.dg │ ├── primes.dg │ └── string.dg ├── collections │ ├── array.dg │ ├── arraylist.dg │ ├── linkedlist.dg │ ├── set.dg │ └── stack.dg ├── draw │ ├── ppm.dg │ └── svg.dg ├── syscalls │ └── syscalls.dg └── tests │ ├── test_math.dg │ └── test_primes.dg ├── syntax-tools ├── batcat │ └── install.sh ├── geany │ ├── README.txt │ └── filetypes.smalldragon.conf ├── micro │ ├── HOWTO.txt │ └── smalldragon.yaml ├── sublime-text │ ├── .gitignore │ ├── dragon.sublime-syntax │ └── install.sh ├── syntaxfiles.txt └── vim │ ├── dotvimrc-append.txt │ ├── ftdetect │ └── dg.vim │ ├── install.sh │ └── syntax │ └── dg.vim ├── tables ├── CMakeLists.txt ├── cc │ ├── cc.c │ └── cc.h ├── data │ ├── data.c │ └── data.h ├── enum │ ├── enum_table.c │ └── enum_table.h ├── lvst │ ├── lvst.c │ └── lvst.h ├── sst │ ├── sst.c │ ├── sst.h │ ├── sst_fill.c │ ├── sst_fill.h │ ├── sst_print.c │ └── sst_print.h ├── stst │ ├── stst.c │ ├── stst.h │ ├── stst_print.c │ └── stst_print.h ├── symtable │ ├── symtable.c │ └── symtable.h └── test │ ├── CMakeLists.txt │ ├── test.c │ └── test.h ├── tac ├── CMakeLists.txt ├── _struct.h ├── tac.c ├── tac.h ├── tac_ctor.c ├── tac_ctor.h ├── tac_str.c ├── tacbuffer.c ├── tacbuffer.h ├── tacbuffer_optimize.c └── test │ ├── CMakeLists.txt │ ├── test.h │ ├── test_tac.c │ └── test_tacbuffer.c ├── token ├── CMakeLists.txt ├── TokenKeys.h ├── list │ ├── TokenList.c │ └── TokenList.h ├── test │ ├── CMakeLists.txt │ ├── test.h │ └── testcases │ │ └── tests_tokenlist.c └── token │ ├── token.c │ └── token.h └── util ├── CMakeLists.txt └── status ├── status.c └── status.h /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/workflows/html-validate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/.github/workflows/html-validate.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/README.md -------------------------------------------------------------------------------- /ast/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | tests 3 | -------------------------------------------------------------------------------- /ast/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/CMakeLists.txt -------------------------------------------------------------------------------- /ast/ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast.h -------------------------------------------------------------------------------- /ast/ast/ast_const.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast/ast_const.h -------------------------------------------------------------------------------- /ast/ast/ast_enum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast/ast_enum.h -------------------------------------------------------------------------------- /ast/ast/ast_expr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast/ast_expr.h -------------------------------------------------------------------------------- /ast/ast/ast_stmts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast/ast_stmts.h -------------------------------------------------------------------------------- /ast/ast/ast_struct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast/ast_struct.h -------------------------------------------------------------------------------- /ast/ast/ast_subr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast/ast_subr.h -------------------------------------------------------------------------------- /ast/ast/ast_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast/ast_types.h -------------------------------------------------------------------------------- /ast/ast/ast_var.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast/ast_var.h -------------------------------------------------------------------------------- /ast/ast_declare.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/ast_declare.h -------------------------------------------------------------------------------- /ast/sd_inttype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/sd_inttype.h -------------------------------------------------------------------------------- /ast/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/test/CMakeLists.txt -------------------------------------------------------------------------------- /ast/test/test_str_ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/test/test_str_ast.c -------------------------------------------------------------------------------- /ast/test/test_str_ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/test/test_str_ast.h -------------------------------------------------------------------------------- /ast/util/copy_ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/util/copy_ast.c -------------------------------------------------------------------------------- /ast/util/copy_ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/util/copy_ast.h -------------------------------------------------------------------------------- /ast/util/equals_ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/util/equals_ast.c -------------------------------------------------------------------------------- /ast/util/equals_ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/util/equals_ast.h -------------------------------------------------------------------------------- /ast/util/free_ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/util/free_ast.c -------------------------------------------------------------------------------- /ast/util/free_ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/util/free_ast.h -------------------------------------------------------------------------------- /ast/util/str_ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/util/str_ast.c -------------------------------------------------------------------------------- /ast/util/str_ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/util/str_ast.h -------------------------------------------------------------------------------- /ast/visitor/visitor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/visitor/visitor.c -------------------------------------------------------------------------------- /ast/visitor/visitor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ast/visitor/visitor.h -------------------------------------------------------------------------------- /check-format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/check-format.sh -------------------------------------------------------------------------------- /compiler/.gitignore: -------------------------------------------------------------------------------- 1 | sdg 2 | sd 3 | smalldragon 4 | *.o 5 | .file.* 6 | *.bin 7 | -------------------------------------------------------------------------------- /compiler/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/CMakeLists.txt -------------------------------------------------------------------------------- /compiler/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/Makefile -------------------------------------------------------------------------------- /compiler/main/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/CMakeLists.txt -------------------------------------------------------------------------------- /compiler/main/analyzer/annotation/annotation_analyzer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/annotation/annotation_analyzer.c -------------------------------------------------------------------------------- /compiler/main/analyzer/annotation/annotation_analyzer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/annotation/annotation_analyzer.h -------------------------------------------------------------------------------- /compiler/main/analyzer/data/data_analyzer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/data/data_analyzer.c -------------------------------------------------------------------------------- /compiler/main/analyzer/data/data_analyzer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/data/data_analyzer.h -------------------------------------------------------------------------------- /compiler/main/analyzer/dead/dead.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/dead/dead.h -------------------------------------------------------------------------------- /compiler/main/analyzer/dead/dead_analyzer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/dead/dead_analyzer.c -------------------------------------------------------------------------------- /compiler/main/analyzer/dead/dead_analyzer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/dead/dead_analyzer.h -------------------------------------------------------------------------------- /compiler/main/analyzer/fn/fn_analyzer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/fn/fn_analyzer.c -------------------------------------------------------------------------------- /compiler/main/analyzer/fn/fn_analyzer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/fn/fn_analyzer.h -------------------------------------------------------------------------------- /compiler/main/analyzer/halts/halt_analyzer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/halts/halt_analyzer.c -------------------------------------------------------------------------------- /compiler/main/analyzer/halts/halt_analyzer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/halts/halt_analyzer.h -------------------------------------------------------------------------------- /compiler/main/analyzer/halts/halts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/halts/halts.h -------------------------------------------------------------------------------- /compiler/main/analyzer/lv/lv_analyzer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/lv/lv_analyzer.c -------------------------------------------------------------------------------- /compiler/main/analyzer/lv/lv_analyzer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/analyzer/lv/lv_analyzer.h -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/cg_avr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/cg_avr.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/cg_avr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/cg_avr.h -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/cg_avr_basic_block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/cg_avr_basic_block.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/cg_avr_basic_block.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/cg_avr_basic_block.h -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/cg_avr_single_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/cg_avr_single_function.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/cg_avr_single_function.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/cg_avr_single_function.h -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/cg_avr_single_tac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/cg_avr_single_tac.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/cg_avr_single_tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/cg_avr_single_tac.h -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac.h -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_binary_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_binary_op.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_call.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_const_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_const_value.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_copy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_copy.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_goto.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_if_cmp_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_if_cmp_goto.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_if_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_if_goto.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_label.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_label.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_load.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_load.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_load_local_addr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_load_local_addr.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_nop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_nop.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_param.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_param.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_return.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_return.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_setup_sp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_setup_sp.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_setup_stackframe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_setup_stackframe.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_store.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_store.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_store_local.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_store_local.c -------------------------------------------------------------------------------- /compiler/main/avr_code_gen/compile_ir/compile_tac_unary_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/avr_code_gen/compile_ir/compile_tac_unary_op.c -------------------------------------------------------------------------------- /compiler/main/basic_block/basicblock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/basic_block/basicblock.c -------------------------------------------------------------------------------- /compiler/main/basic_block/basicblock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/basic_block/basicblock.h -------------------------------------------------------------------------------- /compiler/main/basic_block/basicblock_printer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/basic_block/basicblock_printer.c -------------------------------------------------------------------------------- /compiler/main/basic_block/basicblock_printer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/basic_block/basicblock_printer.h -------------------------------------------------------------------------------- /compiler/main/cli/flags/all_flags.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/cli/flags/all_flags.c -------------------------------------------------------------------------------- /compiler/main/cli/flags/all_flags.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/cli/flags/all_flags.h -------------------------------------------------------------------------------- /compiler/main/cli/flags/flag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/cli/flags/flag.h -------------------------------------------------------------------------------- /compiler/main/cli/flags/flags.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/cli/flags/flags.c -------------------------------------------------------------------------------- /compiler/main/cli/flags/flags.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/cli/flags/flags.h -------------------------------------------------------------------------------- /compiler/main/cli/flags/validate_flags.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/cli/flags/validate_flags.c -------------------------------------------------------------------------------- /compiler/main/cli/flags/validate_flags.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/cli/flags/validate_flags.h -------------------------------------------------------------------------------- /compiler/main/cli/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/cli/main.c -------------------------------------------------------------------------------- /compiler/main/compiler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/compiler.c -------------------------------------------------------------------------------- /compiler/main/compiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/compiler.h -------------------------------------------------------------------------------- /compiler/main/derefll/derefll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/derefll/derefll.c -------------------------------------------------------------------------------- /compiler/main/derefll/derefll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/derefll/derefll.h -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac.h -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_address_of.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_address_of.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_assignstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_assignstmt.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_call.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_const_data.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_const_data.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_constvalue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_constvalue.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_deref.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_deref.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_expr.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_forstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_forstmt.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_ifstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_ifstmt.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_retstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_retstmt.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_simplevar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_simplevar.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_stmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_stmt.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_term.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_term.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_unopterm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_unopterm.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_variable.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/gen_tac_whilestmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/gen_tac_whilestmt.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/helper_gen_tac_derefll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/helper_gen_tac_derefll.c -------------------------------------------------------------------------------- /compiler/main/gen_tac/helper_gen_tac_derefll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/gen_tac/helper_gen_tac_derefll.h -------------------------------------------------------------------------------- /compiler/main/liveness/liveness.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/liveness/liveness.c -------------------------------------------------------------------------------- /compiler/main/liveness/liveness.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/liveness/liveness.h -------------------------------------------------------------------------------- /compiler/main/typechecker/_tc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/_tc.h -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_address_of.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_address_of.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_assignstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_assignstmt.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_deref.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_deref.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_expr.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_forstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_forstmt.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_ifstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_ifstmt.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_local_var_decl_stmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_local_var_decl_stmt.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_method.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_method.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_methodcall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_methodcall.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_range.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_range.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_retstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_retstmt.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_simplevar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_simplevar.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_stmts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_stmts.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_term.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_term.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_unopterm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_unopterm.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_var.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tc_whilestmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tc_whilestmt.c -------------------------------------------------------------------------------- /compiler/main/typechecker/tcctx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/tcctx.h -------------------------------------------------------------------------------- /compiler/main/typechecker/type_contains/tc_arraytype_contains.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/type_contains/tc_arraytype_contains.c -------------------------------------------------------------------------------- /compiler/main/typechecker/type_contains/tc_basictype_contains.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/type_contains/tc_basictype_contains.c -------------------------------------------------------------------------------- /compiler/main/typechecker/type_contains/tc_pointertype_contains.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/type_contains/tc_pointertype_contains.c -------------------------------------------------------------------------------- /compiler/main/typechecker/type_contains/tc_primitivetype_contains.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/type_contains/tc_primitivetype_contains.c -------------------------------------------------------------------------------- /compiler/main/typechecker/type_contains/tc_simpletype_contains.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/type_contains/tc_simpletype_contains.c -------------------------------------------------------------------------------- /compiler/main/typechecker/type_contains/tc_structtype_contains.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/type_contains/tc_structtype_contains.c -------------------------------------------------------------------------------- /compiler/main/typechecker/type_contains/tc_subrtype_contains.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/type_contains/tc_subrtype_contains.c -------------------------------------------------------------------------------- /compiler/main/typechecker/type_contains/tc_type_contains.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/type_contains/tc_type_contains.c -------------------------------------------------------------------------------- /compiler/main/typechecker/type_contains/tc_type_contains.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/type_contains/tc_type_contains.h -------------------------------------------------------------------------------- /compiler/main/typechecker/typecheck.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/typecheck.c -------------------------------------------------------------------------------- /compiler/main/typechecker/typecheck.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/typecheck.h -------------------------------------------------------------------------------- /compiler/main/typechecker/util/tc_errors.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/util/tc_errors.c -------------------------------------------------------------------------------- /compiler/main/typechecker/util/tc_errors.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/util/tc_errors.h -------------------------------------------------------------------------------- /compiler/main/typechecker/util/tc_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/util/tc_utils.c -------------------------------------------------------------------------------- /compiler/main/typechecker/util/tc_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typechecker/util/tc_utils.h -------------------------------------------------------------------------------- /compiler/main/typeinference/infer_in_context.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/infer_in_context.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer.h -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer_address_of.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer_address_of.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer_const.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer_const.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer_deref.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer_deref.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer_expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer_expr.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer_lvalue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer_lvalue.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer_methodcall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer_methodcall.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer_simplevar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer_simplevar.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer_term.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer_term.c -------------------------------------------------------------------------------- /compiler/main/typeinference/typeinfer_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/typeinfer_var.c -------------------------------------------------------------------------------- /compiler/main/typeinference/util/type_str.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/util/type_str.c -------------------------------------------------------------------------------- /compiler/main/typeinference/util/type_str.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/typeinference/util/type_str.h -------------------------------------------------------------------------------- /compiler/main/util/ctx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/util/ctx.c -------------------------------------------------------------------------------- /compiler/main/util/ctx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/util/ctx.h -------------------------------------------------------------------------------- /compiler/main/util/fileutils/fileutils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/util/fileutils/fileutils.c -------------------------------------------------------------------------------- /compiler/main/util/fileutils/fileutils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/util/fileutils/fileutils.h -------------------------------------------------------------------------------- /compiler/main/util/fill_tables.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/util/fill_tables.c -------------------------------------------------------------------------------- /compiler/main/util/fill_tables.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/util/fill_tables.h -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/allocate_registers_x86.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/allocate_registers_x86.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/allocate_registers_x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/allocate_registers_x86.h -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/cg_x86.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/cg_x86.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/cg_x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/cg_x86.h -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/cg_x86_basic_block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/cg_x86_basic_block.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/cg_x86_basic_block.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/cg_x86_basic_block.h -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/cg_x86_single_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/cg_x86_single_function.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/cg_x86_single_function.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/cg_x86_single_function.h -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/cg_x86_single_tac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/cg_x86_single_tac.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/cg_x86_single_tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/cg_x86_single_tac.h -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac.h -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_binary_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_binary_op.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_call.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_const_data.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_const_data.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_const_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_const_value.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_copy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_copy.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_goto.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_icall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_icall.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_if_cmp_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_if_cmp_goto.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_if_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_if_goto.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_label.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_label.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_load.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_load.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_load_function_ptr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_load_function_ptr.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_load_local_addr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_load_local_addr.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_nop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_nop.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_param.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_param.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_return.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_return.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_setup_stackframe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_setup_stackframe.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_store.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_store.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_store_local.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_store_local.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/compile_ir/compile_tac_unary_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/compile_ir/compile_tac_unary_op.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/syscalls/syscalls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/syscalls/syscalls.c -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/syscalls/syscalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/syscalls/syscalls.h -------------------------------------------------------------------------------- /compiler/main/x86_code_gen/syscalls/table.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/main/x86_code_gen/syscalls/table.c -------------------------------------------------------------------------------- /compiler/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/CMakeLists.txt -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac.h -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_binary_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_binary_op.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_call.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_const_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_const_value.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_copy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_copy.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_goto.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_if_cmp_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_if_cmp_goto.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_if_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_if_goto.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_load.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_load.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_nop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_nop.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_param.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_param.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_return.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_return.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_setup_sp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_setup_sp.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_setup_stackframe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_setup_stackframe.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_store.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_store.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/compile_ir/test_compile_tac_unary_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/compile_ir/test_compile_tac_unary_op.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/test_avr_code_gen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/test_avr_code_gen.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/test_avr_code_gen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/test_avr_code_gen.h -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/test_avr_code_gen_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/test_avr_code_gen_util.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/test_avr_code_gen_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/test_avr_code_gen_util.h -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/timer/test_avr_code_gen_timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/avr_code_gen/timer/test_avr_code_gen_timer.c -------------------------------------------------------------------------------- /compiler/test/avr_code_gen/timer/test_avr_code_gen_timer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void test_avr_code_gen_timer(); 4 | -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac.h -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_assignstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_assignstmt.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_call.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_deref.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_deref.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_expr.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_forstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_forstmt.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_ifstmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_ifstmt.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_simplevar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_simplevar.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_structdecl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_structdecl.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_variable.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/test_gen_tac_whilestmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/test_gen_tac_whilestmt.c -------------------------------------------------------------------------------- /compiler/test/gen_tac/util/test_gen_tac_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/gen_tac/util/test_gen_tac_util.c -------------------------------------------------------------------------------- /compiler/test/libvmcu_utils/libvmcu_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/libvmcu_utils/libvmcu_utils.c -------------------------------------------------------------------------------- /compiler/test/libvmcu_utils/libvmcu_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/libvmcu_utils/libvmcu_utils.h -------------------------------------------------------------------------------- /compiler/test/liveness/test_liveness.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/liveness/test_liveness.c -------------------------------------------------------------------------------- /compiler/test/liveness/test_liveness.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/liveness/test_liveness.h -------------------------------------------------------------------------------- /compiler/test/liveness/test_liveness_def.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/liveness/test_liveness_def.c -------------------------------------------------------------------------------- /compiler/test/liveness/test_liveness_in.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/liveness/test_liveness_in.c -------------------------------------------------------------------------------- /compiler/test/liveness/test_liveness_out.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/liveness/test_liveness_out.c -------------------------------------------------------------------------------- /compiler/test/liveness/test_liveness_use.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/liveness/test_liveness_use.c -------------------------------------------------------------------------------- /compiler/test/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/test.c -------------------------------------------------------------------------------- /compiler/test/testcases.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/testcases.c -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/all_errors.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/all_errors.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/assign_primitive.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/assign_primitive.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/binop_type_mismatch.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/binop_type_mismatch.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/condition_requires_bool.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/condition_requires_bool.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/impure_called_in_pure.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/impure_called_in_pure.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/index_not_found.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/index_not_found.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/local_var_not_a_subroutine.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/local_var_not_a_subroutine.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/no_return_stmt.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/no_return_stmt.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/range_requires_int.dg: -------------------------------------------------------------------------------- 1 | fn main()~>int{ 2 | for i in 0 .. 'c' {} 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/subr_not_found.dg: -------------------------------------------------------------------------------- 1 | fn main()~>int{ 2 | return sub(); 3 | } -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/switch_case_type_mismatch.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/switch_case_type_mismatch.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/switch_requires_primitive.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/switch_requires_primitive.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/too_many_indices.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/too_many_indices.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/var_not_found.dg: -------------------------------------------------------------------------------- 1 | fn main()~>int { 2 | 3 | return k; 4 | } 5 | -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/wrong_number_of_args.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/wrong_number_of_args.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/wrong_op_unop.dg: -------------------------------------------------------------------------------- 1 | fn main()~> int { 2 | return !2; 3 | } 4 | -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/wrong_return_type.dg: -------------------------------------------------------------------------------- 1 | fn main()~>int { 2 | return 'c'; 3 | } -------------------------------------------------------------------------------- /compiler/test/typechecker/test-src/wrong_type_of_arg.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test-src/wrong_type_of_arg.dg -------------------------------------------------------------------------------- /compiler/test/typechecker/test_typechecker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test_typechecker.c -------------------------------------------------------------------------------- /compiler/test/typechecker/test_typechecker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test_typechecker.h -------------------------------------------------------------------------------- /compiler/test/typechecker/test_typechecker_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test_typechecker_util.c -------------------------------------------------------------------------------- /compiler/test/typechecker/test_typechecker_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typechecker/test_typechecker_util.h -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_call_with_array_access.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test-src/infer_type_call_with_array_access.dg -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_call_with_struct_member_access.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test-src/infer_type_call_with_struct_member_access.dg -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_expr.dg: -------------------------------------------------------------------------------- 1 | fn sub()->int { 2 | return 3 - 2; 3 | } 4 | -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_expr_multiple_terms.dg: -------------------------------------------------------------------------------- 1 | fn sub()->int { 2 | return 3 + 4; 3 | } 4 | -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_ptr_arithmetic.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test-src/infer_type_ptr_arithmetic.dg -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_return_type_subroutine.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test-src/infer_type_return_type_subroutine.dg -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_simplevar_no_indices.dg: -------------------------------------------------------------------------------- 1 | fn main()~>int { 2 | char c = 'k'; 3 | return c; 4 | } 5 | -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_simplevar_with_indices.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test-src/infer_type_simplevar_with_indices.dg -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_term.dg: -------------------------------------------------------------------------------- 1 | fn sub()~>int { 2 | return 83; 3 | } 4 | -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_type_param.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test-src/infer_type_type_param.dg -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_unopterm.dg: -------------------------------------------------------------------------------- 1 | fn sub()->bool { 2 | return !true; 3 | } 4 | -------------------------------------------------------------------------------- /compiler/test/typeinference/test-src/infer_type_var_with_member_access.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test-src/infer_type_var_with_member_access.dg -------------------------------------------------------------------------------- /compiler/test/typeinference/test_typeinference.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test_typeinference.c -------------------------------------------------------------------------------- /compiler/test/typeinference/test_typeinference.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test_typeinference.h -------------------------------------------------------------------------------- /compiler/test/typeinference/test_typeinference_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test_typeinference_util.c -------------------------------------------------------------------------------- /compiler/test/typeinference/test_typeinference_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/typeinference/test_typeinference_util.h -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac.h -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_binary_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_binary_op.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_call.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_const_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_const_value.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_copy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_copy.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_goto.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_if_cmp_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_if_cmp_goto.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_if_goto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_if_goto.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_load.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_load.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_nop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_nop.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_param.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_param.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_return.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_return.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_store.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_store.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_store_local.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_store_local.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/compile_ir/test_compile_tac_unary_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/compile_ir/test_compile_tac_unary_op.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/fake_lvst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/fake_lvst.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/fake_lvst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/fake_lvst.h -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/test_x86_code_gen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/test_x86_code_gen.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/test_x86_code_gen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/test_x86_code_gen.h -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/test_x86_code_gen_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/test_x86_code_gen_util.c -------------------------------------------------------------------------------- /compiler/test/x86_code_gen/test_x86_code_gen_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/compiler/test/x86_code_gen/test_x86_code_gen_util.h -------------------------------------------------------------------------------- /dependencies/.gitignore: -------------------------------------------------------------------------------- 1 | libvmcu-Virtual-MCU-Library/ 2 | unicorn/ 3 | -------------------------------------------------------------------------------- /dependencies/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/dependencies/Makefile -------------------------------------------------------------------------------- /docs/_headers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/_headers -------------------------------------------------------------------------------- /docs/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/css/style.css -------------------------------------------------------------------------------- /docs/googlec8c33fc0ae3784b9.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/googlec8c33fc0ae3784b9.html -------------------------------------------------------------------------------- /docs/html/annotations.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/annotations.html -------------------------------------------------------------------------------- /docs/html/architecture.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/architecture.html -------------------------------------------------------------------------------- /docs/html/avr-backend.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/avr-backend.html -------------------------------------------------------------------------------- /docs/html/calling-convention.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/calling-convention.html -------------------------------------------------------------------------------- /docs/html/contributing.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/contributing.html -------------------------------------------------------------------------------- /docs/html/controlflow.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/controlflow.html -------------------------------------------------------------------------------- /docs/html/editor-support.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/editor-support.html -------------------------------------------------------------------------------- /docs/html/grammar.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/grammar.html -------------------------------------------------------------------------------- /docs/html/local-var-typeinference.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/local-var-typeinference.html -------------------------------------------------------------------------------- /docs/html/operators.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/operators.html -------------------------------------------------------------------------------- /docs/html/optimizer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/optimizer.html -------------------------------------------------------------------------------- /docs/html/primitives.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/primitives.html -------------------------------------------------------------------------------- /docs/html/project-goals.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/project-goals.html -------------------------------------------------------------------------------- /docs/html/rat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/rat.html -------------------------------------------------------------------------------- /docs/html/skeleton.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/skeleton.html -------------------------------------------------------------------------------- /docs/html/stdlib.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/stdlib.html -------------------------------------------------------------------------------- /docs/html/structs.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/structs.html -------------------------------------------------------------------------------- /docs/html/subroutines.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/subroutines.html -------------------------------------------------------------------------------- /docs/html/tac.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/html/tac.html -------------------------------------------------------------------------------- /docs/img/dragon-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/img/dragon-logo.svg -------------------------------------------------------------------------------- /docs/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/img/favicon.ico -------------------------------------------------------------------------------- /docs/img/rat-x86.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/img/rat-x86.svg -------------------------------------------------------------------------------- /docs/img/rat.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/img/rat.svg -------------------------------------------------------------------------------- /docs/img/transpiler.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/img/transpiler.svg -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/docs/index.html -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/.gitignore -------------------------------------------------------------------------------- /examples/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/Makefile -------------------------------------------------------------------------------- /examples/array/array.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/array/array.dg -------------------------------------------------------------------------------- /examples/array/array2.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/array/array2.dg -------------------------------------------------------------------------------- /examples/assert_examples.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/assert_examples.sh -------------------------------------------------------------------------------- /examples/enum/enum_hex_value/enum_hex_value.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/enum/enum_hex_value/enum_hex_value.dg -------------------------------------------------------------------------------- /examples/enum/enum_hex_value/enum_hex_value.exitcode: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /examples/enum/simple_enum/simple_enum.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/enum/simple_enum/simple_enum.dg -------------------------------------------------------------------------------- /examples/enum/simple_enum/simple_enum.exitcode: -------------------------------------------------------------------------------- 1 | 28 2 | -------------------------------------------------------------------------------- /examples/externc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/externc/Makefile -------------------------------------------------------------------------------- /examples/externc/caller.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/externc/caller.dg -------------------------------------------------------------------------------- /examples/externc/f1.c: -------------------------------------------------------------------------------- 1 | 2 | int f1(){ 3 | 4 | return 6; 5 | } 6 | -------------------------------------------------------------------------------- /examples/externc/params/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/externc/params/Makefile -------------------------------------------------------------------------------- /examples/externc/params/caller_params.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/externc/params/caller_params.dg -------------------------------------------------------------------------------- /examples/externc/return-value/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/externc/return-value/Makefile -------------------------------------------------------------------------------- /examples/externc/return-value/caller.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/externc/return-value/caller.dg -------------------------------------------------------------------------------- /examples/ifstatement/false.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/ifstatement/false.dg -------------------------------------------------------------------------------- /examples/ifstatement/false.exitcode: -------------------------------------------------------------------------------- 1 | 55 2 | -------------------------------------------------------------------------------- /examples/ifstatement/true.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/ifstatement/true.dg -------------------------------------------------------------------------------- /examples/ifstatement/true.exitcode: -------------------------------------------------------------------------------- 1 | 44 2 | -------------------------------------------------------------------------------- /examples/led_blink_no_timer/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/led_blink_no_timer/Makefile -------------------------------------------------------------------------------- /examples/led_blink_no_timer/led_blink_no_timer.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/led_blink_no_timer/led_blink_no_timer.dg -------------------------------------------------------------------------------- /examples/led_blink_timer/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/led_blink_timer/Makefile -------------------------------------------------------------------------------- /examples/led_blink_timer/led_blink.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/led_blink_timer/led_blink.dg -------------------------------------------------------------------------------- /examples/local_variables/simple.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/local_variables/simple.dg -------------------------------------------------------------------------------- /examples/local_variables/simple.exitcode: -------------------------------------------------------------------------------- 1 | 13 2 | -------------------------------------------------------------------------------- /examples/loops/forloop/forloop.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/loops/forloop/forloop.dg -------------------------------------------------------------------------------- /examples/loops/forloop/forloop.exitcode: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /examples/loops/whileloop/whileloop.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/loops/whileloop/whileloop.dg -------------------------------------------------------------------------------- /examples/loops/whileloop/whileloop.exitcode: -------------------------------------------------------------------------------- 1 | 33 2 | -------------------------------------------------------------------------------- /examples/mathematics/div/div.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/mathematics/div/div.dg -------------------------------------------------------------------------------- /examples/mathematics/div/div.exitcode: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /examples/mathematics/div_int/div_int.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/mathematics/div_int/div_int.dg -------------------------------------------------------------------------------- /examples/mathematics/div_int/div_int.exitcode: -------------------------------------------------------------------------------- 1 | 33 2 | -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_11.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/mathematics/fibonacci_11.dg -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_11.exitcode: -------------------------------------------------------------------------------- 1 | 89 2 | -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_3.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/mathematics/fibonacci_3.dg -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_3.exitcode: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_4.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/mathematics/fibonacci_4.dg -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_4.exitcode: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_5.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/mathematics/fibonacci_5.dg -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_5.exitcode: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_6.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/mathematics/fibonacci_6.dg -------------------------------------------------------------------------------- /examples/mathematics/fibonacci_6.exitcode: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /examples/mathematics/modulus/mod.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/mathematics/modulus/mod.dg -------------------------------------------------------------------------------- /examples/mathematics/modulus/mod.exitcode: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /examples/methodCalls/3-deep/3deep.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/3-deep/3deep.dg -------------------------------------------------------------------------------- /examples/methodCalls/3-deep/3deep.exitcode: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /examples/methodCalls/add/add_16.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/add/add_16.dg -------------------------------------------------------------------------------- /examples/methodCalls/add/add_16.exitcode: -------------------------------------------------------------------------------- 1 | 17 2 | -------------------------------------------------------------------------------- /examples/methodCalls/add/add_32.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/add/add_32.dg -------------------------------------------------------------------------------- /examples/methodCalls/add/add_32.exitcode: -------------------------------------------------------------------------------- 1 | 33 2 | -------------------------------------------------------------------------------- /examples/methodCalls/add/add_64.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/add/add_64.dg -------------------------------------------------------------------------------- /examples/methodCalls/add/add_64.exitcode: -------------------------------------------------------------------------------- 1 | 65 2 | -------------------------------------------------------------------------------- /examples/methodCalls/add/add_8.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/add/add_8.dg -------------------------------------------------------------------------------- /examples/methodCalls/add/add_8.exitcode: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /examples/methodCalls/call_as_arg/call_as_arg.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/call_as_arg/call_as_arg.dg -------------------------------------------------------------------------------- /examples/methodCalls/call_as_arg/call_as_arg.exitcode: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /examples/methodCalls/function_ptr/function_ptr.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/function_ptr/function_ptr.dg -------------------------------------------------------------------------------- /examples/methodCalls/function_ptr/function_ptr.exitcode: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /examples/methodCalls/function_ptr_with_arg/function_ptr_with_arg.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/function_ptr_with_arg/function_ptr_with_arg.dg -------------------------------------------------------------------------------- /examples/methodCalls/function_ptr_with_arg/function_ptr_with_arg.exitcode: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /examples/methodCalls/pass_function_ptr/pass_function_ptr.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/pass_function_ptr/pass_function_ptr.dg -------------------------------------------------------------------------------- /examples/methodCalls/pass_function_ptr/pass_function_ptr.exitcode: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /examples/methodCalls/recursion/recursion.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/methodCalls/recursion/recursion.dg -------------------------------------------------------------------------------- /examples/methodCalls/recursion/recursion.exitcode: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /examples/octal/octal_notation.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/octal/octal_notation.dg -------------------------------------------------------------------------------- /examples/octal/octal_notation.exitcode: -------------------------------------------------------------------------------- 1 | 54 2 | -------------------------------------------------------------------------------- /examples/other/everything.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/other/everything.dg -------------------------------------------------------------------------------- /examples/pointer_type/address_of_deref/address_of_deref.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/pointer_type/address_of_deref/address_of_deref.dg -------------------------------------------------------------------------------- /examples/pointer_type/address_of_deref/address_of_deref.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/pointer_type/deref_assignment/deref_assignment.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/pointer_type/deref_assignment/deref_assignment.dg -------------------------------------------------------------------------------- /examples/pointer_type/deref_assignment/deref_assignment.exitcode: -------------------------------------------------------------------------------- 1 | 36 2 | -------------------------------------------------------------------------------- /examples/pointer_type/deref_of_address/deref_of_address.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/pointer_type/deref_of_address/deref_of_address.dg -------------------------------------------------------------------------------- /examples/pointer_type/deref_of_address/deref_of_address.exitcode: -------------------------------------------------------------------------------- 1 | 75 2 | -------------------------------------------------------------------------------- /examples/pointer_type/deref_once/deref_pointer.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/pointer_type/deref_once/deref_pointer.dg -------------------------------------------------------------------------------- /examples/pointer_type/deref_once/deref_pointer.exitcode: -------------------------------------------------------------------------------- 1 | 33 2 | -------------------------------------------------------------------------------- /examples/pointer_type/pass_to_function/pass_to_function.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/pointer_type/pass_to_function/pass_to_function.dg -------------------------------------------------------------------------------- /examples/pointer_type/pass_to_function/pass_to_function.exitcode: -------------------------------------------------------------------------------- 1 | 90 2 | -------------------------------------------------------------------------------- /examples/pointer_type/pass_to_function_deref_assign/pass_to_function_deref_assign.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/pointer_type/pass_to_function_deref_assign/pass_to_function_deref_assign.dg -------------------------------------------------------------------------------- /examples/pointer_type/pass_to_function_deref_assign/pass_to_function_deref_assign.exitcode: -------------------------------------------------------------------------------- 1 | 74 2 | -------------------------------------------------------------------------------- /examples/pointer_type/pass_to_function_twice/pass_to_function_twice.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/pointer_type/pass_to_function_twice/pass_to_function_twice.dg -------------------------------------------------------------------------------- /examples/pointer_type/pass_to_function_twice/pass_to_function_twice.exitcode: -------------------------------------------------------------------------------- 1 | 88 2 | -------------------------------------------------------------------------------- /examples/pointer_type/twice/deref_twice.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/pointer_type/twice/deref_twice.dg -------------------------------------------------------------------------------- /examples/pointer_type/twice/deref_twice.exitcode: -------------------------------------------------------------------------------- 1 | 83 2 | -------------------------------------------------------------------------------- /examples/portb/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/portb/Makefile -------------------------------------------------------------------------------- /examples/portb/test_portb.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/portb/test_portb.dg -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/alloc_0_bytes/alloc_0_bytes.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/allocator/alloc_0_bytes/alloc_0_bytes.dg -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/alloc_0_bytes/alloc_0_bytes.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/alloc_0_bytes/alloc_0_bytes.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/calloc_test/calloc_test.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/allocator/calloc_test/calloc_test.dg -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/calloc_test/calloc_test.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/calloc_test/calloc_test.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/calloc_test/calloc_test.stdout: -------------------------------------------------------------------------------- 1 | 0 2 | 831212 3 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/loop_test/loop_test.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/allocator/loop_test/loop_test.dg -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/loop_test/loop_test.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/loop_test/loop_test.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/memcpy_test/memcpy_test.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/allocator/memcpy_test/memcpy_test.dg -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/memcpy_test/memcpy_test.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/memcpy_test/memcpy_test.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/memcpy_test/memcpy_test.stdout: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 0 5 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/no_overlap/no_overlap.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/allocator/no_overlap/no_overlap.dg -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/no_overlap/no_overlap.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/no_overlap/no_overlap.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/realloc_test/realloc_test.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/allocator/realloc_test/realloc_test.dg -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/realloc_test/realloc_test.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/realloc_test/realloc_test.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/use_allocator/use_allocator.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/allocator/use_allocator/use_allocator.dg -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/use_allocator/use_allocator.exitcode: -------------------------------------------------------------------------------- 1 | 84 2 | -------------------------------------------------------------------------------- /examples/stdlib/base/allocator/use_allocator/use_allocator.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/string/streq/test_streq.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/string/streq/test_streq.dg -------------------------------------------------------------------------------- /examples/stdlib/base/string/streq/test_streq.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/base/string/streq/test_streq.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/string/strlen/test_strlen.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/string/strlen/test_strlen.dg -------------------------------------------------------------------------------- /examples/stdlib/base/string/strlen/test_strlen.exitcode: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /examples/stdlib/base/string/strlen/test_strlen.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/test_string.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/base/test_string.dg -------------------------------------------------------------------------------- /examples/stdlib/base/test_string.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/base/test_string.stdout: -------------------------------------------------------------------------------- 1 | 8329 2 | -------------------------------------------------------------------------------- /examples/stdlib/draw/svg/test_svg.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/draw/svg/test_svg.dg -------------------------------------------------------------------------------- /examples/stdlib/draw/svg/test_svg.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/draw/svg/test_svg.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/draw/svg/test_svg.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/draw/svg/test_svg.stdout -------------------------------------------------------------------------------- /examples/stdlib/draw/testdraw.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/draw/testdraw.dg -------------------------------------------------------------------------------- /examples/stdlib/draw/testdraw.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/draw/testdraw.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/draw/testdraw.stdout -------------------------------------------------------------------------------- /examples/stdlib/syscalls/exit/exit.dg: -------------------------------------------------------------------------------- 1 | 2 | fn main() ~> int { 3 | 4 | exit(84); 5 | 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/exit/exit.exitcode: -------------------------------------------------------------------------------- 1 | 84 2 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/exit/exit.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/mmap/use_mmap.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/syscalls/mmap/use_mmap.dg -------------------------------------------------------------------------------- /examples/stdlib/syscalls/mmap/use_mmap.exitcode: -------------------------------------------------------------------------------- 1 | 89 2 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/mmap/use_mmap.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/read_file/read_file.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/syscalls/read_file/read_file.dg -------------------------------------------------------------------------------- /examples/stdlib/syscalls/read_file/read_file.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/read_file/read_file.stdout: -------------------------------------------------------------------------------- 1 | fn main 2 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write/write_stdout.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/syscalls/write/write_stdout.dg -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write/write_stdout.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write/write_stdout.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write/write_stdout.stdout: -------------------------------------------------------------------------------- 1 | x 2 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write_file/write_file.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/syscalls/write_file/write_file.dg -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write_file/write_file.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write_file/write_file.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write_string/write_string.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/stdlib/syscalls/write_string/write_string.dg -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write_string/write_string.exitcode: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write_string/write_string.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/stdlib/syscalls/write_string/write_string.stdout: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | -------------------------------------------------------------------------------- /examples/struct/nested/nested.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/struct/nested/nested.dg -------------------------------------------------------------------------------- /examples/struct/nested/nested.exitcode: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /examples/struct/struct_and_array/struct_and_array.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/struct/struct_and_array/struct_and_array.dg -------------------------------------------------------------------------------- /examples/struct/struct_and_array/struct_and_array.exitcode: -------------------------------------------------------------------------------- 1 | 73 2 | -------------------------------------------------------------------------------- /examples/struct/struct_and_array/struct_and_array.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/struct/struct_on_heap/struct_on_heap.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/struct/struct_on_heap/struct_on_heap.dg -------------------------------------------------------------------------------- /examples/struct/struct_on_heap/struct_on_heap.exitcode: -------------------------------------------------------------------------------- 1 | 43 2 | -------------------------------------------------------------------------------- /examples/struct/struct_on_heap/struct_on_heap.stdlib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/struct/struct_on_heap/struct_on_heap.stdout: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/struct/struct_on_stack/one_member.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/struct/struct_on_stack/one_member.dg -------------------------------------------------------------------------------- /examples/struct/struct_on_stack/one_member.exitcode: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /examples/struct/struct_on_stack/two_member.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/struct/struct_on_stack/two_member.dg -------------------------------------------------------------------------------- /examples/struct/struct_on_stack/two_member.exitcode: -------------------------------------------------------------------------------- 1 | 31 2 | -------------------------------------------------------------------------------- /examples/struct/very_nested/very_nested.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/struct/very_nested/very_nested.dg -------------------------------------------------------------------------------- /examples/struct/very_nested/very_nested.exitcode: -------------------------------------------------------------------------------- 1 | 42 2 | -------------------------------------------------------------------------------- /examples/tc_err.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/tc_err.dg -------------------------------------------------------------------------------- /examples/typeinference/localvartypeinference.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/typeinference/localvartypeinference.dg -------------------------------------------------------------------------------- /examples/usart/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/usart/Makefile -------------------------------------------------------------------------------- /examples/usart/main.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/examples/usart/main.dg -------------------------------------------------------------------------------- /format-code.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/format-code.sh -------------------------------------------------------------------------------- /ibuffer/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ibuffer/CMakeLists.txt -------------------------------------------------------------------------------- /ibuffer/ibuffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ibuffer/ibuffer.c -------------------------------------------------------------------------------- /ibuffer/ibuffer_avr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ibuffer/ibuffer_avr.h -------------------------------------------------------------------------------- /ibuffer/ibuffer_write.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ibuffer/ibuffer_write.c -------------------------------------------------------------------------------- /ibuffer/ibuffer_write.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ibuffer/ibuffer_write.h -------------------------------------------------------------------------------- /ibuffer/ibuffer_x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ibuffer/ibuffer_x86.h -------------------------------------------------------------------------------- /ibuffer/ikey.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ibuffer/ikey.h -------------------------------------------------------------------------------- /ibuffer/mnem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/ibuffer/mnem.c -------------------------------------------------------------------------------- /lexer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/.gitignore -------------------------------------------------------------------------------- /lexer/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/CMakeLists.txt -------------------------------------------------------------------------------- /lexer/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/src/CMakeLists.txt -------------------------------------------------------------------------------- /lexer/src/driver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/src/driver.c -------------------------------------------------------------------------------- /lexer/src/driver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/src/driver.h -------------------------------------------------------------------------------- /lexer/src/lexer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/src/lexer.c -------------------------------------------------------------------------------- /lexer/src/lexer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/src/lexer.h -------------------------------------------------------------------------------- /lexer/src/lexer_flags.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/src/lexer_flags.h -------------------------------------------------------------------------------- /lexer/src/lexer_main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/src/lexer_main.c -------------------------------------------------------------------------------- /lexer/src/lexer_main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/src/lexer_main.h -------------------------------------------------------------------------------- /lexer/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/CMakeLists.txt -------------------------------------------------------------------------------- /lexer/test/lexer_test_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/lexer_test_utils.c -------------------------------------------------------------------------------- /lexer/test/lexer_test_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/lexer_test_utils.h -------------------------------------------------------------------------------- /lexer/test/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/test.c -------------------------------------------------------------------------------- /lexer/test/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/test.h -------------------------------------------------------------------------------- /lexer/test/testcases/tests_comments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/testcases/tests_comments.c -------------------------------------------------------------------------------- /lexer/test/testcases/tests_const.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/testcases/tests_const.c -------------------------------------------------------------------------------- /lexer/test/testcases/tests_keywords.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/testcases/tests_keywords.c -------------------------------------------------------------------------------- /lexer/test/testcases/tests_mixed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/testcases/tests_mixed.c -------------------------------------------------------------------------------- /lexer/test/testcases/tests_operators.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/testcases/tests_operators.c -------------------------------------------------------------------------------- /lexer/test/testcases/tests_other.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/lexer/test/testcases/tests_other.c -------------------------------------------------------------------------------- /parser/.gitignore: -------------------------------------------------------------------------------- 1 | dragon-parser 2 | 3 | -------------------------------------------------------------------------------- /parser/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/CMakeLists.txt -------------------------------------------------------------------------------- /parser/main/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/CMakeLists.txt -------------------------------------------------------------------------------- /parser/main/astnodes/EnumDecl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/EnumDecl.c -------------------------------------------------------------------------------- /parser/main/astnodes/EnumDecl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/EnumDecl.h -------------------------------------------------------------------------------- /parser/main/astnodes/EnumMember.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/EnumMember.c -------------------------------------------------------------------------------- /parser/main/astnodes/EnumMember.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/EnumMember.h -------------------------------------------------------------------------------- /parser/main/astnodes/Identifier.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/Identifier.c -------------------------------------------------------------------------------- /parser/main/astnodes/Identifier.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/Identifier.h -------------------------------------------------------------------------------- /parser/main/astnodes/Namespace.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/Namespace.c -------------------------------------------------------------------------------- /parser/main/astnodes/Namespace.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/Namespace.h -------------------------------------------------------------------------------- /parser/main/astnodes/Range.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/Range.c -------------------------------------------------------------------------------- /parser/main/astnodes/Range.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/Range.h -------------------------------------------------------------------------------- /parser/main/astnodes/StmtBlock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/StmtBlock.c -------------------------------------------------------------------------------- /parser/main/astnodes/StmtBlock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/StmtBlock.h -------------------------------------------------------------------------------- /parser/main/astnodes/const/ConstValue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/const/ConstValue.c -------------------------------------------------------------------------------- /parser/main/astnodes/const/ConstValue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/const/ConstValue.h -------------------------------------------------------------------------------- /parser/main/astnodes/const/IntConst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/const/IntConst.c -------------------------------------------------------------------------------- /parser/main/astnodes/const/IntConst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/const/IntConst.h -------------------------------------------------------------------------------- /parser/main/astnodes/const/StringConst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/const/StringConst.c -------------------------------------------------------------------------------- /parser/main/astnodes/const/StringConst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/const/StringConst.h -------------------------------------------------------------------------------- /parser/main/astnodes/expr/AddressOf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/AddressOf.c -------------------------------------------------------------------------------- /parser/main/astnodes/expr/AddressOf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/AddressOf.h -------------------------------------------------------------------------------- /parser/main/astnodes/expr/Deref.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/Deref.c -------------------------------------------------------------------------------- /parser/main/astnodes/expr/Deref.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/Deref.h -------------------------------------------------------------------------------- /parser/main/astnodes/expr/Expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/Expr.c -------------------------------------------------------------------------------- /parser/main/astnodes/expr/Expr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/Expr.h -------------------------------------------------------------------------------- /parser/main/astnodes/expr/LValue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/LValue.c -------------------------------------------------------------------------------- /parser/main/astnodes/expr/LValue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/LValue.h -------------------------------------------------------------------------------- /parser/main/astnodes/expr/Op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/Op.c -------------------------------------------------------------------------------- /parser/main/astnodes/expr/Op.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/Op.h -------------------------------------------------------------------------------- /parser/main/astnodes/expr/Term.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/Term.c -------------------------------------------------------------------------------- /parser/main/astnodes/expr/Term.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/Term.h -------------------------------------------------------------------------------- /parser/main/astnodes/expr/UnOpTerm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/UnOpTerm.c -------------------------------------------------------------------------------- /parser/main/astnodes/expr/UnOpTerm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/expr/UnOpTerm.h -------------------------------------------------------------------------------- /parser/main/astnodes/statements/AssignStmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/AssignStmt.c -------------------------------------------------------------------------------- /parser/main/astnodes/statements/AssignStmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/AssignStmt.h -------------------------------------------------------------------------------- /parser/main/astnodes/statements/Call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/Call.c -------------------------------------------------------------------------------- /parser/main/astnodes/statements/Call.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/Call.h -------------------------------------------------------------------------------- /parser/main/astnodes/statements/ForStmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/ForStmt.c -------------------------------------------------------------------------------- /parser/main/astnodes/statements/ForStmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/ForStmt.h -------------------------------------------------------------------------------- /parser/main/astnodes/statements/IfStmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/IfStmt.c -------------------------------------------------------------------------------- /parser/main/astnodes/statements/IfStmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/IfStmt.h -------------------------------------------------------------------------------- /parser/main/astnodes/statements/LocalVarDeclStmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/LocalVarDeclStmt.c -------------------------------------------------------------------------------- /parser/main/astnodes/statements/LocalVarDeclStmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/LocalVarDeclStmt.h -------------------------------------------------------------------------------- /parser/main/astnodes/statements/RetStmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/RetStmt.c -------------------------------------------------------------------------------- /parser/main/astnodes/statements/RetStmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/RetStmt.h -------------------------------------------------------------------------------- /parser/main/astnodes/statements/Stmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/Stmt.c -------------------------------------------------------------------------------- /parser/main/astnodes/statements/Stmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/Stmt.h -------------------------------------------------------------------------------- /parser/main/astnodes/statements/WhileStmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/WhileStmt.c -------------------------------------------------------------------------------- /parser/main/astnodes/statements/WhileStmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/statements/WhileStmt.h -------------------------------------------------------------------------------- /parser/main/astnodes/struct/StructDecl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/struct/StructDecl.c -------------------------------------------------------------------------------- /parser/main/astnodes/struct/StructDecl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/struct/StructDecl.h -------------------------------------------------------------------------------- /parser/main/astnodes/struct/StructMember.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/struct/StructMember.c -------------------------------------------------------------------------------- /parser/main/astnodes/struct/StructMember.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/struct/StructMember.h -------------------------------------------------------------------------------- /parser/main/astnodes/subr/DeclArg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/subr/DeclArg.c -------------------------------------------------------------------------------- /parser/main/astnodes/subr/DeclArg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/subr/DeclArg.h -------------------------------------------------------------------------------- /parser/main/astnodes/subr/Method.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/subr/Method.c -------------------------------------------------------------------------------- /parser/main/astnodes/subr/Method.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/subr/Method.h -------------------------------------------------------------------------------- /parser/main/astnodes/subr/MethodDecl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/subr/MethodDecl.c -------------------------------------------------------------------------------- /parser/main/astnodes/subr/MethodDecl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/subr/MethodDecl.h -------------------------------------------------------------------------------- /parser/main/astnodes/types/ArrayType.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/ArrayType.c -------------------------------------------------------------------------------- /parser/main/astnodes/types/ArrayType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/ArrayType.h -------------------------------------------------------------------------------- /parser/main/astnodes/types/BasicType.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/BasicType.c -------------------------------------------------------------------------------- /parser/main/astnodes/types/BasicType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/BasicType.h -------------------------------------------------------------------------------- /parser/main/astnodes/types/PointerType.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/PointerType.c -------------------------------------------------------------------------------- /parser/main/astnodes/types/PointerType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/PointerType.h -------------------------------------------------------------------------------- /parser/main/astnodes/types/PrimitiveType.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/PrimitiveType.c -------------------------------------------------------------------------------- /parser/main/astnodes/types/PrimitiveType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/PrimitiveType.h -------------------------------------------------------------------------------- /parser/main/astnodes/types/SimpleType.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/SimpleType.c -------------------------------------------------------------------------------- /parser/main/astnodes/types/SimpleType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/SimpleType.h -------------------------------------------------------------------------------- /parser/main/astnodes/types/StructType.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/StructType.c -------------------------------------------------------------------------------- /parser/main/astnodes/types/StructType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/StructType.h -------------------------------------------------------------------------------- /parser/main/astnodes/types/SubrType.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/SubrType.c -------------------------------------------------------------------------------- /parser/main/astnodes/types/SubrType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/SubrType.h -------------------------------------------------------------------------------- /parser/main/astnodes/types/Type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/Type.c -------------------------------------------------------------------------------- /parser/main/astnodes/types/Type.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/Type.h -------------------------------------------------------------------------------- /parser/main/astnodes/types/TypeParam.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/TypeParam.c -------------------------------------------------------------------------------- /parser/main/astnodes/types/TypeParam.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/types/TypeParam.h -------------------------------------------------------------------------------- /parser/main/astnodes/var/SimpleVar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/var/SimpleVar.c -------------------------------------------------------------------------------- /parser/main/astnodes/var/SimpleVar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/var/SimpleVar.h -------------------------------------------------------------------------------- /parser/main/astnodes/var/Variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/var/Variable.c -------------------------------------------------------------------------------- /parser/main/astnodes/var/Variable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/astnodes/var/Variable.h -------------------------------------------------------------------------------- /parser/main/util/parse_astnode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/util/parse_astnode.c -------------------------------------------------------------------------------- /parser/main/util/parse_astnode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/util/parse_astnode.h -------------------------------------------------------------------------------- /parser/main/util/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/util/parser.c -------------------------------------------------------------------------------- /parser/main/util/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/main/util/parser.h -------------------------------------------------------------------------------- /parser/spec/proposed_grammar_changes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/spec/proposed_grammar_changes.txt -------------------------------------------------------------------------------- /parser/spec/thought_about_grammar.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/spec/thought_about_grammar.txt -------------------------------------------------------------------------------- /parser/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/CMakeLists.txt -------------------------------------------------------------------------------- /parser/test/astnodes/NamespaceTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/NamespaceTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/NamespaceTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/NamespaceTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/RangeTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/RangeTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/RangeTest.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | void range_test1(); 6 | -------------------------------------------------------------------------------- /parser/test/astnodes/StmtBlockTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/StmtBlockTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/StmtBlockTest.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | int test_stmtblock_1(); 6 | -------------------------------------------------------------------------------- /parser/test/astnodes/const/ConstValueTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/const/ConstValueTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/const/ConstValueTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/const/ConstValueTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/expr/AddressOfTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/expr/AddressOfTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/expr/DerefTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/expr/DerefTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/expr/ExprTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/expr/ExprTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/expr/ParseExprTests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/expr/ParseExprTests.h -------------------------------------------------------------------------------- /parser/test/astnodes/expr/TermTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/expr/TermTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/expr/UnOpTermTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/expr/UnOpTermTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/statements/AssignStmtTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/AssignStmtTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/statements/AssignStmtTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/AssignStmtTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/statements/CallTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/CallTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/statements/CallTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/CallTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/statements/CaseStmtTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/CaseStmtTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/statements/CaseStmtTest.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | int test_parser_case_stmt(); 6 | -------------------------------------------------------------------------------- /parser/test/astnodes/statements/ForStmtTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/ForStmtTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/statements/ForStmtTest.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | void for_test1(); 6 | -------------------------------------------------------------------------------- /parser/test/astnodes/statements/IfStmtTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/IfStmtTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/statements/IfStmtTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/IfStmtTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/statements/RetStmtTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/RetStmtTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/statements/RetStmtTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/RetStmtTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/statements/StmtTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/StmtTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/statements/StmtTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/StmtTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/statements/WhileStmtTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/WhileStmtTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/statements/WhileStmtTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/statements/WhileStmtTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/struct/StructDeclTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/struct/StructDeclTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/struct/StructDeclTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/struct/StructDeclTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/struct/StructMemberTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/struct/StructMemberTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/struct/StructMemberTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/struct/StructMemberTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/subr/DeclArgTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/subr/DeclArgTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/subr/DeclArgTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/subr/DeclArgTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/subr/MethodTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/subr/MethodTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/subr/MethodTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/subr/MethodTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/types/BasicTypeTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/types/BasicTypeTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/types/ParseTypeTests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/types/ParseTypeTests.h -------------------------------------------------------------------------------- /parser/test/astnodes/types/PointerTypeTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/types/PointerTypeTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/types/SimpleTypeTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/types/SimpleTypeTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/types/StructTypeTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/types/StructTypeTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/types/SubrTypeTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/types/SubrTypeTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/var/SimpleVarTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/var/SimpleVarTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/var/SimpleVarTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/var/SimpleVarTest.h -------------------------------------------------------------------------------- /parser/test/astnodes/var/VariableTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/var/VariableTest.c -------------------------------------------------------------------------------- /parser/test/astnodes/var/VariableTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/astnodes/var/VariableTest.h -------------------------------------------------------------------------------- /parser/test/commandline/ParserTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/commandline/ParserTest.c -------------------------------------------------------------------------------- /parser/test/commandline/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/commandline/test.h -------------------------------------------------------------------------------- /parser/test/test_parser_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/parser/test/test_parser_util.c -------------------------------------------------------------------------------- /parser/test/test_parser_util.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void status_test(char* name); 4 | -------------------------------------------------------------------------------- /rat/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | -------------------------------------------------------------------------------- /rat/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/CMakeLists.txt -------------------------------------------------------------------------------- /rat/_struct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/_struct.h -------------------------------------------------------------------------------- /rat/rat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/rat.c -------------------------------------------------------------------------------- /rat/rat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/rat.h -------------------------------------------------------------------------------- /rat/rat_avr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/rat_avr.c -------------------------------------------------------------------------------- /rat/rat_x86.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/rat_x86.c -------------------------------------------------------------------------------- /rat/rat_x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/rat_x86.h -------------------------------------------------------------------------------- /rat/register.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/register.h -------------------------------------------------------------------------------- /rat/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/test/CMakeLists.txt -------------------------------------------------------------------------------- /rat/test/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/test/test.c -------------------------------------------------------------------------------- /rat/test/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/rat/test/test.h -------------------------------------------------------------------------------- /spec/coding-style.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/spec/coding-style.txt -------------------------------------------------------------------------------- /spec/types/generics.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/spec/types/generics.txt -------------------------------------------------------------------------------- /spec/types/transiently-typed.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/spec/types/transiently-typed.txt -------------------------------------------------------------------------------- /stdlib/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/.gitignore -------------------------------------------------------------------------------- /stdlib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/Makefile -------------------------------------------------------------------------------- /stdlib/avr/atmega328p.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/avr/atmega328p.dg -------------------------------------------------------------------------------- /stdlib/avr/portb.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/avr/portb.dg -------------------------------------------------------------------------------- /stdlib/avr/timer0.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/avr/timer0.dg -------------------------------------------------------------------------------- /stdlib/avr/usart.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/avr/usart.dg -------------------------------------------------------------------------------- /stdlib/base/allocator.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/base/allocator.dg -------------------------------------------------------------------------------- /stdlib/base/assert.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/base/assert.dg -------------------------------------------------------------------------------- /stdlib/base/math.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/base/math.dg -------------------------------------------------------------------------------- /stdlib/base/polynomial.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/base/polynomial.dg -------------------------------------------------------------------------------- /stdlib/base/primes.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/base/primes.dg -------------------------------------------------------------------------------- /stdlib/base/string.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/base/string.dg -------------------------------------------------------------------------------- /stdlib/collections/array.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/collections/array.dg -------------------------------------------------------------------------------- /stdlib/collections/arraylist.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/collections/arraylist.dg -------------------------------------------------------------------------------- /stdlib/collections/linkedlist.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/collections/linkedlist.dg -------------------------------------------------------------------------------- /stdlib/collections/set.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/collections/set.dg -------------------------------------------------------------------------------- /stdlib/collections/stack.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/collections/stack.dg -------------------------------------------------------------------------------- /stdlib/draw/ppm.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/draw/ppm.dg -------------------------------------------------------------------------------- /stdlib/draw/svg.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/draw/svg.dg -------------------------------------------------------------------------------- /stdlib/syscalls/syscalls.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/syscalls/syscalls.dg -------------------------------------------------------------------------------- /stdlib/tests/test_math.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/tests/test_math.dg -------------------------------------------------------------------------------- /stdlib/tests/test_primes.dg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/stdlib/tests/test_primes.dg -------------------------------------------------------------------------------- /syntax-tools/batcat/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/batcat/install.sh -------------------------------------------------------------------------------- /syntax-tools/geany/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/geany/README.txt -------------------------------------------------------------------------------- /syntax-tools/geany/filetypes.smalldragon.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/geany/filetypes.smalldragon.conf -------------------------------------------------------------------------------- /syntax-tools/micro/HOWTO.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/micro/HOWTO.txt -------------------------------------------------------------------------------- /syntax-tools/micro/smalldragon.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/micro/smalldragon.yaml -------------------------------------------------------------------------------- /syntax-tools/sublime-text/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-package 2 | -------------------------------------------------------------------------------- /syntax-tools/sublime-text/dragon.sublime-syntax: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/sublime-text/dragon.sublime-syntax -------------------------------------------------------------------------------- /syntax-tools/sublime-text/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/sublime-text/install.sh -------------------------------------------------------------------------------- /syntax-tools/syntaxfiles.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/syntaxfiles.txt -------------------------------------------------------------------------------- /syntax-tools/vim/dotvimrc-append.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/vim/dotvimrc-append.txt -------------------------------------------------------------------------------- /syntax-tools/vim/ftdetect/dg.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/vim/ftdetect/dg.vim -------------------------------------------------------------------------------- /syntax-tools/vim/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/vim/install.sh -------------------------------------------------------------------------------- /syntax-tools/vim/syntax/dg.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/syntax-tools/vim/syntax/dg.vim -------------------------------------------------------------------------------- /tables/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/CMakeLists.txt -------------------------------------------------------------------------------- /tables/cc/cc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/cc/cc.c -------------------------------------------------------------------------------- /tables/cc/cc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/cc/cc.h -------------------------------------------------------------------------------- /tables/data/data.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/data/data.c -------------------------------------------------------------------------------- /tables/data/data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/data/data.h -------------------------------------------------------------------------------- /tables/enum/enum_table.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/enum/enum_table.c -------------------------------------------------------------------------------- /tables/enum/enum_table.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/enum/enum_table.h -------------------------------------------------------------------------------- /tables/lvst/lvst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/lvst/lvst.c -------------------------------------------------------------------------------- /tables/lvst/lvst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/lvst/lvst.h -------------------------------------------------------------------------------- /tables/sst/sst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/sst/sst.c -------------------------------------------------------------------------------- /tables/sst/sst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/sst/sst.h -------------------------------------------------------------------------------- /tables/sst/sst_fill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/sst/sst_fill.c -------------------------------------------------------------------------------- /tables/sst/sst_fill.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/sst/sst_fill.h -------------------------------------------------------------------------------- /tables/sst/sst_print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/sst/sst_print.c -------------------------------------------------------------------------------- /tables/sst/sst_print.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/sst/sst_print.h -------------------------------------------------------------------------------- /tables/stst/stst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/stst/stst.c -------------------------------------------------------------------------------- /tables/stst/stst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/stst/stst.h -------------------------------------------------------------------------------- /tables/stst/stst_print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/stst/stst_print.c -------------------------------------------------------------------------------- /tables/stst/stst_print.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/stst/stst_print.h -------------------------------------------------------------------------------- /tables/symtable/symtable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/symtable/symtable.c -------------------------------------------------------------------------------- /tables/symtable/symtable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/symtable/symtable.h -------------------------------------------------------------------------------- /tables/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/test/CMakeLists.txt -------------------------------------------------------------------------------- /tables/test/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/test/test.c -------------------------------------------------------------------------------- /tables/test/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tables/test/test.h -------------------------------------------------------------------------------- /tac/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/CMakeLists.txt -------------------------------------------------------------------------------- /tac/_struct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/_struct.h -------------------------------------------------------------------------------- /tac/tac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/tac.c -------------------------------------------------------------------------------- /tac/tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/tac.h -------------------------------------------------------------------------------- /tac/tac_ctor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/tac_ctor.c -------------------------------------------------------------------------------- /tac/tac_ctor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/tac_ctor.h -------------------------------------------------------------------------------- /tac/tac_str.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/tac_str.c -------------------------------------------------------------------------------- /tac/tacbuffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/tacbuffer.c -------------------------------------------------------------------------------- /tac/tacbuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/tacbuffer.h -------------------------------------------------------------------------------- /tac/tacbuffer_optimize.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/tacbuffer_optimize.c -------------------------------------------------------------------------------- /tac/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/test/CMakeLists.txt -------------------------------------------------------------------------------- /tac/test/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/test/test.h -------------------------------------------------------------------------------- /tac/test/test_tac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/test/test_tac.c -------------------------------------------------------------------------------- /tac/test/test_tacbuffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/tac/test/test_tacbuffer.c -------------------------------------------------------------------------------- /token/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/token/CMakeLists.txt -------------------------------------------------------------------------------- /token/TokenKeys.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/token/TokenKeys.h -------------------------------------------------------------------------------- /token/list/TokenList.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/token/list/TokenList.c -------------------------------------------------------------------------------- /token/list/TokenList.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/token/list/TokenList.h -------------------------------------------------------------------------------- /token/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/token/test/CMakeLists.txt -------------------------------------------------------------------------------- /token/test/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/token/test/test.h -------------------------------------------------------------------------------- /token/test/testcases/tests_tokenlist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/token/test/testcases/tests_tokenlist.c -------------------------------------------------------------------------------- /token/token/token.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/token/token/token.c -------------------------------------------------------------------------------- /token/token/token.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/token/token/token.h -------------------------------------------------------------------------------- /util/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/util/CMakeLists.txt -------------------------------------------------------------------------------- /util/status/status.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointbazaar/espl1000/HEAD/util/status/status.c -------------------------------------------------------------------------------- /util/status/status.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // for use in testcases 4 | void status(char* msg); 5 | --------------------------------------------------------------------------------