├── .gitattributes ├── CMakeLists.txt ├── LICENSE.txt ├── README.md ├── SysY语言定义.pdf ├── SysY运行时库.pdf ├── readme_images ├── Compiler.png ├── Ideal_Logo_Davies.ico ├── MIT_license.svg ├── result00.png ├── result01.jpeg ├── result02.jpeg ├── result03.jpeg ├── result04.jpeg ├── result05.jpeg ├── result06.jpeg ├── result07.jpeg └── screenshot.png ├── src ├── back_end │ ├── arm_generator.cpp │ ├── arm_generator.h │ ├── optimizer.cpp │ └── optimizer.h ├── common │ ├── config.cpp │ ├── config.h │ ├── global.cpp │ ├── global.h │ ├── node.cpp │ ├── node.h │ ├── type.cpp │ └── type.h ├── compiler.cpp ├── front_end │ ├── intermediate_representation.cpp │ ├── intermediate_representation.h │ ├── parser.cpp │ ├── parser.h │ ├── semantic_analyzer.cpp │ ├── semantic_analyzer.h │ ├── tokenize.cpp │ └── tokenize.h └── tools │ ├── common.cpp │ └── common.h ├── test_sample ├── functional_test │ ├── 00_arr_defn2.out │ ├── 00_arr_defn2.sy │ ├── 00_main.out │ ├── 00_main.sy │ ├── 01_var_defn.out │ ├── 01_var_defn.sy │ ├── 02_arr_defn4.out │ ├── 02_arr_defn4.sy │ ├── 02_var_defn2.out │ ├── 02_var_defn2.sy │ ├── 03_arr_defn.out │ ├── 03_arr_defn.sy │ ├── 03_var_defn2.out │ ├── 03_var_defn2.sy │ ├── 04_const_defn.out │ ├── 04_const_defn.sy │ ├── 04_func_defn.out │ ├── 04_func_defn.sy │ ├── 05_add.out │ ├── 05_add.sy │ ├── 05_const_array_defn.out │ ├── 05_const_array_defn.sy │ ├── 06_mod.out │ ├── 06_mod.sy │ ├── 06_var_defn_func.out │ ├── 06_var_defn_func.sy │ ├── 07_comment1.out │ ├── 07_comment1.sy │ ├── 07_return_var.out │ ├── 07_return_var.sy │ ├── 08_arr_assign.out │ ├── 08_arr_assign.sy │ ├── 08_comment2.out │ ├── 08_comment2.sy │ ├── 09_if.out │ ├── 09_if.sy │ ├── 09_void_func.out │ ├── 09_void_func.sy │ ├── 10_break.out │ ├── 10_break.sy │ ├── 10_if_else.out │ ├── 10_if_else.sy │ ├── 11_continue.out │ ├── 11_continue.sy │ ├── 11_while.out │ ├── 11_while.sy │ ├── 12_array_traverse.out │ ├── 12_array_traverse.sy │ ├── 12_getint.in │ ├── 12_getint.out │ ├── 12_getint.sy │ ├── 13_and.in │ ├── 13_and.out │ ├── 13_and.sy │ ├── 13_array_traverse2.out │ ├── 13_array_traverse2.sy │ ├── 14_or.in │ ├── 14_or.out │ ├── 14_or.sy │ ├── 15_array_test3.out │ ├── 15_array_test3.sy │ ├── 15_equal.in │ ├── 15_equal.out │ ├── 15_equal.sy │ ├── 16_greater_eq.out │ ├── 16_greater_eq.sy │ ├── 16_nequal.in │ ├── 16_nequal.out │ ├── 16_nequal.sy │ ├── 17_less.in │ ├── 17_less.out │ ├── 17_less.sy │ ├── 17_less_eq.out │ ├── 17_less_eq.sy │ ├── 18_cal_prio.in │ ├── 18_cal_prio.out │ ├── 18_cal_prio.sy │ ├── 19_neg_expr.in │ ├── 19_neg_expr.out │ ├── 19_neg_expr.sy │ ├── 20_arr_sum.in │ ├── 20_arr_sum.out │ ├── 20_arr_sum.sy │ ├── 21_suminput.in │ ├── 21_suminput.out │ ├── 21_suminput.sy │ ├── 22_if_test1.out │ ├── 22_if_test1.sy │ ├── 23_if_test2.out │ ├── 23_if_test2.sy │ ├── 24_if_test3.out │ ├── 24_if_test3.sy │ ├── 25_if_test4.out │ ├── 25_if_test4.sy │ ├── 26_if_test5.out │ ├── 26_if_test5.sy │ ├── 27_while_test1.out │ ├── 27_while_test1.sy │ ├── 28_while_test2.out │ ├── 28_while_test2.sy │ ├── 29_while_test3.out │ ├── 29_while_test3.sy │ ├── 30_while_if_test1.out │ ├── 30_while_if_test1.sy │ ├── 31_while_if_test2.out │ ├── 31_while_if_test2.sy │ ├── 32_while_if_test3.out │ ├── 32_while_if_test3.sy │ ├── 33_func_test1.out │ ├── 33_func_test1.sy │ ├── 34_func_test2.out │ ├── 34_func_test2.sy │ ├── 35_array_test.out │ ├── 35_array_test.sy │ ├── 36_domain_test.out │ ├── 36_domain_test.sy │ ├── 38_if_complex_expr.out │ ├── 38_if_complex_expr.sy │ ├── 39_assign_complex_expr.out │ ├── 39_assign_complex_expr.sy │ ├── 40_index_complex_expr.out │ ├── 40_index_complex_expr.sy │ ├── 41_index_arithmetic_expr.out │ ├── 41_index_arithmetic_expr.sy │ ├── 42_index_func_ret.out │ ├── 42_index_func_ret.sy │ ├── 43_time_prior_plus.out │ ├── 43_time_prior_plus.sy │ ├── 44_add_prior_equal.out │ ├── 44_add_prior_equal.sy │ ├── 45_equal_prior_logic.out │ ├── 45_equal_prior_logic.sy │ ├── 46_and_prior_or.out │ ├── 46_and_prior_or.sy │ ├── 47_minus_with_sub.out │ ├── 47_minus_with_sub.sy │ ├── 49_decl_in_defn.out │ ├── 49_decl_in_defn.sy │ ├── 50_recursion_test1.out │ ├── 50_recursion_test1.sy │ ├── 51_recursion_test2.out │ ├── 51_recursion_test2.sy │ ├── 52_recursion_test3.out │ ├── 52_recursion_test3.sy │ ├── 53_sort_test1.out │ ├── 53_sort_test1.sy │ ├── 54_sort_test2.out │ ├── 54_sort_test2.sy │ ├── 55_sort_test3.out │ ├── 55_sort_test3.sy │ ├── 56_sort_test4.out │ ├── 56_sort_test4.sy │ ├── 57_sort_test5.out │ ├── 57_sort_test5.sy │ ├── 58_sort_test6.out │ ├── 58_sort_test6.sy │ ├── 59_sort_test7.out │ ├── 59_sort_test7.sy │ ├── 60_while_fibonacci.in │ ├── 60_while_fibonacci.out │ ├── 60_while_fibonacci.sy │ ├── 61_rec_fibonacci.in │ ├── 61_rec_fibonacci.out │ ├── 61_rec_fibonacci.sy │ ├── 62_long_code.out │ ├── 62_long_code.sy │ ├── 63_simple_atoi.in │ ├── 63_simple_atoi.out │ ├── 63_simple_atoi.sy │ ├── 64_alpha_count.in │ ├── 64_alpha_count.out │ ├── 64_alpha_count.sy │ ├── 65_word_count.in │ ├── 65_word_count.out │ ├── 65_word_count.sy │ ├── 66_go_upstairs.out │ ├── 66_go_upstairs.sy │ ├── 67_remove_duplicate_element.out │ ├── 67_remove_duplicate_element.sy │ ├── 68_accumulate.out │ ├── 68_accumulate.sy │ ├── 69_last_word_length.out │ ├── 69_last_word_length.sy │ ├── 70_multi.out │ ├── 70_multi.sy │ ├── 71_max_subsequence_sum.out │ ├── 71_max_subsequence_sum.sy │ ├── 72_enum.out │ ├── 72_enum.sy │ ├── 73_exchange_value.in │ ├── 73_exchange_value.out │ ├── 73_exchange_value.sy │ ├── 74_itera_sqrt.out │ ├── 74_itera_sqrt.sy │ ├── 75_max_container.out │ ├── 75_max_container.sy │ ├── 76_int_factor_sum.out │ ├── 76_int_factor_sum.sy │ ├── 77_unique_path.out │ ├── 77_unique_path.sy │ ├── 78_decbinoct.out │ ├── 78_decbinoct.sy │ ├── 79_gcd.in │ ├── 79_gcd.out │ ├── 79_gcd.sy │ ├── 80_lcm.in │ ├── 80_lcm.out │ ├── 80_lcm.sy │ ├── 81_jump_game.out │ ├── 81_jump_game.sy │ ├── 82_int_split.out │ ├── 82_int_split.sy │ ├── 83_enc_dec.out │ ├── 83_enc_dec.sy │ ├── 84_palindrome_number.out │ ├── 84_palindrome_number.sy │ ├── 86_bin_search.in │ ├── 86_bin_search.out │ ├── 86_bin_search.sy │ ├── 88_array_concat.out │ ├── 88_array_concat.sy │ ├── 90_insert_order.in │ ├── 90_insert_order.out │ ├── 90_insert_order.sy │ ├── 91_line_search.in │ ├── 91_line_search.out │ ├── 91_line_search.sy │ ├── 92_matrix_add.out │ ├── 92_matrix_add.sy │ ├── 93_matrix_sub.out │ ├── 93_matrix_sub.sy │ ├── 94_matrix_mul.out │ ├── 94_matrix_mul.sy │ ├── 95_matrix_tran.out │ ├── 95_matrix_tran.sy │ ├── 96_many_param_call.out │ ├── 96_many_param_call.sy │ ├── 97_many_global_var.out │ ├── 97_many_global_var.sy │ ├── 98_many_local_var.in │ ├── 98_many_local_var.out │ ├── 98_many_local_var.sy │ ├── 99_register_realloc.out │ └── 99_register_realloc.sy └── performance_test │ ├── 00_bitset1.in │ ├── 00_bitset1.out │ ├── 00_bitset1.sy │ ├── 00_bitset2.in │ ├── 00_bitset2.out │ ├── 00_bitset2.sy │ ├── 00_bitset3.in │ ├── 00_bitset3.out │ ├── 00_bitset3.sy │ ├── 01_mm1.in │ ├── 01_mm1.out │ ├── 01_mm1.sy │ ├── 01_mm2.in │ ├── 01_mm2.out │ ├── 01_mm2.sy │ ├── 01_mm3.in │ ├── 01_mm3.out │ ├── 01_mm3.sy │ ├── 02_mv1.in │ ├── 02_mv1.out │ ├── 02_mv1.sy │ ├── 02_mv2.in │ ├── 02_mv2.out │ ├── 02_mv2.sy │ ├── 02_mv3.in │ ├── 02_mv3.out │ ├── 02_mv3.sy │ ├── 03_sort1.in │ ├── 03_sort1.out │ ├── 03_sort1.sy │ ├── 03_sort2.in │ ├── 03_sort2.out │ ├── 03_sort2.sy │ ├── 03_sort3.in │ ├── 03_sort3.out │ ├── 03_sort3.sy │ ├── 04_spmv1.in │ ├── 04_spmv1.out │ ├── 04_spmv1.sy │ ├── 04_spmv2.in │ ├── 04_spmv2.out │ ├── 04_spmv2.sy │ ├── 04_spmv3.in │ ├── 04_spmv3.out │ └── 04_spmv3.sy └── 项目介绍.pdf /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/.gitattributes -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/README.md -------------------------------------------------------------------------------- /SysY语言定义.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/SysY语言定义.pdf -------------------------------------------------------------------------------- /SysY运行时库.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/SysY运行时库.pdf -------------------------------------------------------------------------------- /readme_images/Compiler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/Compiler.png -------------------------------------------------------------------------------- /readme_images/Ideal_Logo_Davies.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/Ideal_Logo_Davies.ico -------------------------------------------------------------------------------- /readme_images/MIT_license.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/MIT_license.svg -------------------------------------------------------------------------------- /readme_images/result00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/result00.png -------------------------------------------------------------------------------- /readme_images/result01.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/result01.jpeg -------------------------------------------------------------------------------- /readme_images/result02.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/result02.jpeg -------------------------------------------------------------------------------- /readme_images/result03.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/result03.jpeg -------------------------------------------------------------------------------- /readme_images/result04.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/result04.jpeg -------------------------------------------------------------------------------- /readme_images/result05.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/result05.jpeg -------------------------------------------------------------------------------- /readme_images/result06.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/result06.jpeg -------------------------------------------------------------------------------- /readme_images/result07.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/result07.jpeg -------------------------------------------------------------------------------- /readme_images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/readme_images/screenshot.png -------------------------------------------------------------------------------- /src/back_end/arm_generator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/back_end/arm_generator.cpp -------------------------------------------------------------------------------- /src/back_end/arm_generator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/back_end/arm_generator.h -------------------------------------------------------------------------------- /src/back_end/optimizer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/back_end/optimizer.cpp -------------------------------------------------------------------------------- /src/back_end/optimizer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/back_end/optimizer.h -------------------------------------------------------------------------------- /src/common/config.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/common/config.cpp -------------------------------------------------------------------------------- /src/common/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/common/config.h -------------------------------------------------------------------------------- /src/common/global.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/common/global.cpp -------------------------------------------------------------------------------- /src/common/global.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/common/global.h -------------------------------------------------------------------------------- /src/common/node.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/common/node.cpp -------------------------------------------------------------------------------- /src/common/node.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/common/node.h -------------------------------------------------------------------------------- /src/common/type.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/common/type.cpp -------------------------------------------------------------------------------- /src/common/type.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/common/type.h -------------------------------------------------------------------------------- /src/compiler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/compiler.cpp -------------------------------------------------------------------------------- /src/front_end/intermediate_representation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/front_end/intermediate_representation.cpp -------------------------------------------------------------------------------- /src/front_end/intermediate_representation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/front_end/intermediate_representation.h -------------------------------------------------------------------------------- /src/front_end/parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/front_end/parser.cpp -------------------------------------------------------------------------------- /src/front_end/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/front_end/parser.h -------------------------------------------------------------------------------- /src/front_end/semantic_analyzer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/front_end/semantic_analyzer.cpp -------------------------------------------------------------------------------- /src/front_end/semantic_analyzer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/front_end/semantic_analyzer.h -------------------------------------------------------------------------------- /src/front_end/tokenize.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/front_end/tokenize.cpp -------------------------------------------------------------------------------- /src/front_end/tokenize.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/front_end/tokenize.h -------------------------------------------------------------------------------- /src/tools/common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/tools/common.cpp -------------------------------------------------------------------------------- /src/tools/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/src/tools/common.h -------------------------------------------------------------------------------- /test_sample/functional_test/00_arr_defn2.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/00_arr_defn2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/00_arr_defn2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/00_main.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/00_main.sy: -------------------------------------------------------------------------------- 1 | int main(){ 2 | return 0; 3 | } 4 | -------------------------------------------------------------------------------- /test_sample/functional_test/01_var_defn.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/01_var_defn.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/01_var_defn.sy -------------------------------------------------------------------------------- /test_sample/functional_test/02_arr_defn4.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/02_arr_defn4.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/02_arr_defn4.sy -------------------------------------------------------------------------------- /test_sample/functional_test/02_var_defn2.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/02_var_defn2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/02_var_defn2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/03_arr_defn.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/03_arr_defn.sy: -------------------------------------------------------------------------------- 1 | int a[10]; 2 | int main(){ 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /test_sample/functional_test/03_var_defn2.out: -------------------------------------------------------------------------------- 1 | 28 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/03_var_defn2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/03_var_defn2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/04_const_defn.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/04_const_defn.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/04_const_defn.sy -------------------------------------------------------------------------------- /test_sample/functional_test/04_func_defn.out: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/04_func_defn.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/04_func_defn.sy -------------------------------------------------------------------------------- /test_sample/functional_test/05_add.out: -------------------------------------------------------------------------------- 1 | 30 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/05_add.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/05_add.sy -------------------------------------------------------------------------------- /test_sample/functional_test/05_const_array_defn.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/05_const_array_defn.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/05_const_array_defn.sy -------------------------------------------------------------------------------- /test_sample/functional_test/06_mod.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/06_mod.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/06_mod.sy -------------------------------------------------------------------------------- /test_sample/functional_test/06_var_defn_func.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/06_var_defn_func.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/06_var_defn_func.sy -------------------------------------------------------------------------------- /test_sample/functional_test/07_comment1.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/07_comment1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/07_comment1.sy -------------------------------------------------------------------------------- /test_sample/functional_test/07_return_var.out: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/07_return_var.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/07_return_var.sy -------------------------------------------------------------------------------- /test_sample/functional_test/08_arr_assign.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/08_arr_assign.sy: -------------------------------------------------------------------------------- 1 | int a[10]; 2 | int main(){ 3 | a[0]=1; 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /test_sample/functional_test/08_comment2.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/08_comment2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/08_comment2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/09_if.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/09_if.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/09_if.sy -------------------------------------------------------------------------------- /test_sample/functional_test/09_void_func.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/09_void_func.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/09_void_func.sy -------------------------------------------------------------------------------- /test_sample/functional_test/10_break.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/10_break.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/10_break.sy -------------------------------------------------------------------------------- /test_sample/functional_test/10_if_else.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/10_if_else.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/10_if_else.sy -------------------------------------------------------------------------------- /test_sample/functional_test/11_continue.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/11_continue.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/11_continue.sy -------------------------------------------------------------------------------- /test_sample/functional_test/11_while.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/11_while.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/11_while.sy -------------------------------------------------------------------------------- /test_sample/functional_test/12_array_traverse.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/12_array_traverse.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/12_array_traverse.sy -------------------------------------------------------------------------------- /test_sample/functional_test/12_getint.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/12_getint.in -------------------------------------------------------------------------------- /test_sample/functional_test/12_getint.out: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/12_getint.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/12_getint.sy -------------------------------------------------------------------------------- /test_sample/functional_test/13_and.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/13_and.in -------------------------------------------------------------------------------- /test_sample/functional_test/13_and.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/13_and.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/13_and.sy -------------------------------------------------------------------------------- /test_sample/functional_test/13_array_traverse2.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/13_array_traverse2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/13_array_traverse2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/14_or.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/14_or.in -------------------------------------------------------------------------------- /test_sample/functional_test/14_or.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/14_or.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/14_or.sy -------------------------------------------------------------------------------- /test_sample/functional_test/15_array_test3.out: -------------------------------------------------------------------------------- 1 | 15 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/15_array_test3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/15_array_test3.sy -------------------------------------------------------------------------------- /test_sample/functional_test/15_equal.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/15_equal.in -------------------------------------------------------------------------------- /test_sample/functional_test/15_equal.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/15_equal.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/15_equal.sy -------------------------------------------------------------------------------- /test_sample/functional_test/16_greater_eq.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/16_greater_eq.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/16_greater_eq.sy -------------------------------------------------------------------------------- /test_sample/functional_test/16_nequal.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/16_nequal.in -------------------------------------------------------------------------------- /test_sample/functional_test/16_nequal.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/16_nequal.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/16_nequal.sy -------------------------------------------------------------------------------- /test_sample/functional_test/17_less.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/17_less.in -------------------------------------------------------------------------------- /test_sample/functional_test/17_less.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/17_less.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/17_less.sy -------------------------------------------------------------------------------- /test_sample/functional_test/17_less_eq.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/17_less_eq.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/17_less_eq.sy -------------------------------------------------------------------------------- /test_sample/functional_test/18_cal_prio.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/18_cal_prio.in -------------------------------------------------------------------------------- /test_sample/functional_test/18_cal_prio.out: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/18_cal_prio.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/18_cal_prio.sy -------------------------------------------------------------------------------- /test_sample/functional_test/19_neg_expr.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/19_neg_expr.in -------------------------------------------------------------------------------- /test_sample/functional_test/19_neg_expr.out: -------------------------------------------------------------------------------- 1 | -5 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/19_neg_expr.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/19_neg_expr.sy -------------------------------------------------------------------------------- /test_sample/functional_test/20_arr_sum.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/20_arr_sum.in -------------------------------------------------------------------------------- /test_sample/functional_test/20_arr_sum.out: -------------------------------------------------------------------------------- 1 | 12 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/20_arr_sum.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/20_arr_sum.sy -------------------------------------------------------------------------------- /test_sample/functional_test/21_suminput.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/21_suminput.in -------------------------------------------------------------------------------- /test_sample/functional_test/21_suminput.out: -------------------------------------------------------------------------------- 1 | 6 2 | 6 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/21_suminput.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/21_suminput.sy -------------------------------------------------------------------------------- /test_sample/functional_test/22_if_test1.out: -------------------------------------------------------------------------------- 1 | 25 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/22_if_test1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/22_if_test1.sy -------------------------------------------------------------------------------- /test_sample/functional_test/23_if_test2.out: -------------------------------------------------------------------------------- 1 | 132 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/23_if_test2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/23_if_test2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/24_if_test3.out: -------------------------------------------------------------------------------- 1 | 25 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/24_if_test3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/24_if_test3.sy -------------------------------------------------------------------------------- /test_sample/functional_test/25_if_test4.out: -------------------------------------------------------------------------------- 1 | 25 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/25_if_test4.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/25_if_test4.sy -------------------------------------------------------------------------------- /test_sample/functional_test/26_if_test5.out: -------------------------------------------------------------------------------- 1 | 25 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/26_if_test5.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/26_if_test5.sy -------------------------------------------------------------------------------- /test_sample/functional_test/27_while_test1.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/27_while_test1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/27_while_test1.sy -------------------------------------------------------------------------------- /test_sample/functional_test/28_while_test2.out: -------------------------------------------------------------------------------- 1 | 54 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/28_while_test2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/28_while_test2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/29_while_test3.out: -------------------------------------------------------------------------------- 1 | 23 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/29_while_test3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/29_while_test3.sy -------------------------------------------------------------------------------- /test_sample/functional_test/30_while_if_test1.out: -------------------------------------------------------------------------------- 1 | 198 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/30_while_if_test1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/30_while_if_test1.sy -------------------------------------------------------------------------------- /test_sample/functional_test/31_while_if_test2.out: -------------------------------------------------------------------------------- 1 | 96 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/31_while_if_test2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/31_while_if_test2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/32_while_if_test3.out: -------------------------------------------------------------------------------- 1 | 88 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/32_while_if_test3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/32_while_if_test3.sy -------------------------------------------------------------------------------- /test_sample/functional_test/33_func_test1.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/33_func_test1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/33_func_test1.sy -------------------------------------------------------------------------------- /test_sample/functional_test/34_func_test2.out: -------------------------------------------------------------------------------- 1 | 127 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/34_func_test2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/34_func_test2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/35_array_test.out: -------------------------------------------------------------------------------- 1 | 15 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/35_array_test.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/35_array_test.sy -------------------------------------------------------------------------------- /test_sample/functional_test/36_domain_test.out: -------------------------------------------------------------------------------- 1 | 12 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/36_domain_test.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/36_domain_test.sy -------------------------------------------------------------------------------- /test_sample/functional_test/38_if_complex_expr.out: -------------------------------------------------------------------------------- 1 | 2 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/38_if_complex_expr.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/38_if_complex_expr.sy -------------------------------------------------------------------------------- /test_sample/functional_test/39_assign_complex_expr.out: -------------------------------------------------------------------------------- 1 | -171 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/39_assign_complex_expr.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/39_assign_complex_expr.sy -------------------------------------------------------------------------------- /test_sample/functional_test/40_index_complex_expr.out: -------------------------------------------------------------------------------- 1 | 45 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/40_index_complex_expr.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/40_index_complex_expr.sy -------------------------------------------------------------------------------- /test_sample/functional_test/41_index_arithmetic_expr.out: -------------------------------------------------------------------------------- 1 | 3 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/41_index_arithmetic_expr.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/41_index_arithmetic_expr.sy -------------------------------------------------------------------------------- /test_sample/functional_test/42_index_func_ret.out: -------------------------------------------------------------------------------- 1 | -7 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/42_index_func_ret.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/42_index_func_ret.sy -------------------------------------------------------------------------------- /test_sample/functional_test/43_time_prior_plus.out: -------------------------------------------------------------------------------- 1 | -4 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/43_time_prior_plus.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/43_time_prior_plus.sy -------------------------------------------------------------------------------- /test_sample/functional_test/44_add_prior_equal.out: -------------------------------------------------------------------------------- 1 | 0 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/44_add_prior_equal.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/44_add_prior_equal.sy -------------------------------------------------------------------------------- /test_sample/functional_test/45_equal_prior_logic.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/45_equal_prior_logic.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/45_equal_prior_logic.sy -------------------------------------------------------------------------------- /test_sample/functional_test/46_and_prior_or.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/46_and_prior_or.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/46_and_prior_or.sy -------------------------------------------------------------------------------- /test_sample/functional_test/47_minus_with_sub.out: -------------------------------------------------------------------------------- 1 | 0 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/47_minus_with_sub.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/47_minus_with_sub.sy -------------------------------------------------------------------------------- /test_sample/functional_test/49_decl_in_defn.out: -------------------------------------------------------------------------------- 1 | 12 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/49_decl_in_defn.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/49_decl_in_defn.sy -------------------------------------------------------------------------------- /test_sample/functional_test/50_recursion_test1.out: -------------------------------------------------------------------------------- 1 | 24 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/50_recursion_test1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/50_recursion_test1.sy -------------------------------------------------------------------------------- /test_sample/functional_test/51_recursion_test2.out: -------------------------------------------------------------------------------- 1 | 55 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/51_recursion_test2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/51_recursion_test2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/52_recursion_test3.out: -------------------------------------------------------------------------------- 1 | 120 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/52_recursion_test3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/52_recursion_test3.sy -------------------------------------------------------------------------------- /test_sample/functional_test/53_sort_test1.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | 0 12 | -------------------------------------------------------------------------------- /test_sample/functional_test/53_sort_test1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/53_sort_test1.sy -------------------------------------------------------------------------------- /test_sample/functional_test/54_sort_test2.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | 0 12 | -------------------------------------------------------------------------------- /test_sample/functional_test/54_sort_test2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/54_sort_test2.sy -------------------------------------------------------------------------------- /test_sample/functional_test/55_sort_test3.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | 0 12 | -------------------------------------------------------------------------------- /test_sample/functional_test/55_sort_test3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/55_sort_test3.sy -------------------------------------------------------------------------------- /test_sample/functional_test/56_sort_test4.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | 0 12 | -------------------------------------------------------------------------------- /test_sample/functional_test/56_sort_test4.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/56_sort_test4.sy -------------------------------------------------------------------------------- /test_sample/functional_test/57_sort_test5.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | 0 12 | -------------------------------------------------------------------------------- /test_sample/functional_test/57_sort_test5.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/57_sort_test5.sy -------------------------------------------------------------------------------- /test_sample/functional_test/58_sort_test6.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | 0 12 | -------------------------------------------------------------------------------- /test_sample/functional_test/58_sort_test6.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/58_sort_test6.sy -------------------------------------------------------------------------------- /test_sample/functional_test/59_sort_test7.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | 0 12 | -------------------------------------------------------------------------------- /test_sample/functional_test/59_sort_test7.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/59_sort_test7.sy -------------------------------------------------------------------------------- /test_sample/functional_test/60_while_fibonacci.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/60_while_fibonacci.in -------------------------------------------------------------------------------- /test_sample/functional_test/60_while_fibonacci.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/60_while_fibonacci.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/60_while_fibonacci.sy -------------------------------------------------------------------------------- /test_sample/functional_test/61_rec_fibonacci.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/61_rec_fibonacci.in -------------------------------------------------------------------------------- /test_sample/functional_test/61_rec_fibonacci.out: -------------------------------------------------------------------------------- 1 | 55 2 | 55 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/61_rec_fibonacci.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/61_rec_fibonacci.sy -------------------------------------------------------------------------------- /test_sample/functional_test/62_long_code.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/62_long_code.out -------------------------------------------------------------------------------- /test_sample/functional_test/62_long_code.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/62_long_code.sy -------------------------------------------------------------------------------- /test_sample/functional_test/63_simple_atoi.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/63_simple_atoi.in -------------------------------------------------------------------------------- /test_sample/functional_test/63_simple_atoi.out: -------------------------------------------------------------------------------- 1 | -258425 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/63_simple_atoi.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/63_simple_atoi.sy -------------------------------------------------------------------------------- /test_sample/functional_test/64_alpha_count.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/64_alpha_count.in -------------------------------------------------------------------------------- /test_sample/functional_test/64_alpha_count.out: -------------------------------------------------------------------------------- 1 | 299 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/64_alpha_count.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/64_alpha_count.sy -------------------------------------------------------------------------------- /test_sample/functional_test/65_word_count.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/65_word_count.in -------------------------------------------------------------------------------- /test_sample/functional_test/65_word_count.out: -------------------------------------------------------------------------------- 1 | 56 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/65_word_count.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/65_word_count.sy -------------------------------------------------------------------------------- /test_sample/functional_test/66_go_upstairs.out: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/66_go_upstairs.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/66_go_upstairs.sy -------------------------------------------------------------------------------- /test_sample/functional_test/67_remove_duplicate_element.out: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/67_remove_duplicate_element.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/67_remove_duplicate_element.sy -------------------------------------------------------------------------------- /test_sample/functional_test/68_accumulate.out: -------------------------------------------------------------------------------- 1 | 210 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/68_accumulate.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/68_accumulate.sy -------------------------------------------------------------------------------- /test_sample/functional_test/69_last_word_length.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/69_last_word_length.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/69_last_word_length.sy -------------------------------------------------------------------------------- /test_sample/functional_test/70_multi.out: -------------------------------------------------------------------------------- 1 | 0 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/70_multi.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/70_multi.sy -------------------------------------------------------------------------------- /test_sample/functional_test/71_max_subsequence_sum.out: -------------------------------------------------------------------------------- 1 | 25 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/71_max_subsequence_sum.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/71_max_subsequence_sum.sy -------------------------------------------------------------------------------- /test_sample/functional_test/72_enum.out: -------------------------------------------------------------------------------- 1 | 01000 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/72_enum.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/72_enum.sy -------------------------------------------------------------------------------- /test_sample/functional_test/73_exchange_value.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/73_exchange_value.in -------------------------------------------------------------------------------- /test_sample/functional_test/73_exchange_value.out: -------------------------------------------------------------------------------- 1 | 20 2 | 4 3 | 0 4 | -------------------------------------------------------------------------------- /test_sample/functional_test/73_exchange_value.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/73_exchange_value.sy -------------------------------------------------------------------------------- /test_sample/functional_test/74_itera_sqrt.out: -------------------------------------------------------------------------------- 1 | 20 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/74_itera_sqrt.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/74_itera_sqrt.sy -------------------------------------------------------------------------------- /test_sample/functional_test/75_max_container.out: -------------------------------------------------------------------------------- 1 | 56 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/75_max_container.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/75_max_container.sy -------------------------------------------------------------------------------- /test_sample/functional_test/76_int_factor_sum.out: -------------------------------------------------------------------------------- 1 | 172 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/76_int_factor_sum.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/76_int_factor_sum.sy -------------------------------------------------------------------------------- /test_sample/functional_test/77_unique_path.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/77_unique_path.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/77_unique_path.sy -------------------------------------------------------------------------------- /test_sample/functional_test/78_decbinoct.out: -------------------------------------------------------------------------------- 1 | 110010000 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/78_decbinoct.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/78_decbinoct.sy -------------------------------------------------------------------------------- /test_sample/functional_test/79_gcd.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/79_gcd.in -------------------------------------------------------------------------------- /test_sample/functional_test/79_gcd.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/79_gcd.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/79_gcd.sy -------------------------------------------------------------------------------- /test_sample/functional_test/80_lcm.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/80_lcm.in -------------------------------------------------------------------------------- /test_sample/functional_test/80_lcm.out: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/80_lcm.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/80_lcm.sy -------------------------------------------------------------------------------- /test_sample/functional_test/81_jump_game.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/81_jump_game.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/81_jump_game.sy -------------------------------------------------------------------------------- /test_sample/functional_test/82_int_split.out: -------------------------------------------------------------------------------- 1 | 1 2 | 4 3 | 7 4 | 8 5 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/82_int_split.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/82_int_split.sy -------------------------------------------------------------------------------- /test_sample/functional_test/83_enc_dec.out: -------------------------------------------------------------------------------- 1 | 401 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/83_enc_dec.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/83_enc_dec.sy -------------------------------------------------------------------------------- /test_sample/functional_test/84_palindrome_number.out: -------------------------------------------------------------------------------- 1 | 1221 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/84_palindrome_number.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/84_palindrome_number.sy -------------------------------------------------------------------------------- /test_sample/functional_test/86_bin_search.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/86_bin_search.in -------------------------------------------------------------------------------- /test_sample/functional_test/86_bin_search.out: -------------------------------------------------------------------------------- 1 | 6 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/86_bin_search.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/86_bin_search.sy -------------------------------------------------------------------------------- /test_sample/functional_test/88_array_concat.out: -------------------------------------------------------------------------------- 1 | 012012 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/88_array_concat.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/88_array_concat.sy -------------------------------------------------------------------------------- /test_sample/functional_test/90_insert_order.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/90_insert_order.in -------------------------------------------------------------------------------- /test_sample/functional_test/90_insert_order.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/90_insert_order.out -------------------------------------------------------------------------------- /test_sample/functional_test/90_insert_order.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/90_insert_order.sy -------------------------------------------------------------------------------- /test_sample/functional_test/91_line_search.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/91_line_search.in -------------------------------------------------------------------------------- /test_sample/functional_test/91_line_search.out: -------------------------------------------------------------------------------- 1 | 6 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/functional_test/91_line_search.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/91_line_search.sy -------------------------------------------------------------------------------- /test_sample/functional_test/92_matrix_add.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/92_matrix_add.out -------------------------------------------------------------------------------- /test_sample/functional_test/92_matrix_add.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/92_matrix_add.sy -------------------------------------------------------------------------------- /test_sample/functional_test/93_matrix_sub.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/93_matrix_sub.out -------------------------------------------------------------------------------- /test_sample/functional_test/93_matrix_sub.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/93_matrix_sub.sy -------------------------------------------------------------------------------- /test_sample/functional_test/94_matrix_mul.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/94_matrix_mul.out -------------------------------------------------------------------------------- /test_sample/functional_test/94_matrix_mul.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/94_matrix_mul.sy -------------------------------------------------------------------------------- /test_sample/functional_test/95_matrix_tran.out: -------------------------------------------------------------------------------- 1 | 000 2 | 111 3 | 222 4 | 0 5 | -------------------------------------------------------------------------------- /test_sample/functional_test/95_matrix_tran.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/95_matrix_tran.sy -------------------------------------------------------------------------------- /test_sample/functional_test/96_many_param_call.out: -------------------------------------------------------------------------------- 1 | 1054100 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/96_many_param_call.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/96_many_param_call.sy -------------------------------------------------------------------------------- /test_sample/functional_test/97_many_global_var.out: -------------------------------------------------------------------------------- 1 | 2822118 2 | 0 -------------------------------------------------------------------------------- /test_sample/functional_test/97_many_global_var.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/97_many_global_var.sy -------------------------------------------------------------------------------- /test_sample/functional_test/98_many_local_var.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/98_many_local_var.in -------------------------------------------------------------------------------- /test_sample/functional_test/98_many_local_var.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/98_many_local_var.out -------------------------------------------------------------------------------- /test_sample/functional_test/98_many_local_var.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/98_many_local_var.sy -------------------------------------------------------------------------------- /test_sample/functional_test/99_register_realloc.out: -------------------------------------------------------------------------------- 1 | 132 2 | -------------------------------------------------------------------------------- /test_sample/functional_test/99_register_realloc.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/functional_test/99_register_realloc.sy -------------------------------------------------------------------------------- /test_sample/performance_test/00_bitset1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/00_bitset1.in -------------------------------------------------------------------------------- /test_sample/performance_test/00_bitset1.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/00_bitset1.out -------------------------------------------------------------------------------- /test_sample/performance_test/00_bitset1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/00_bitset1.sy -------------------------------------------------------------------------------- /test_sample/performance_test/00_bitset2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/00_bitset2.in -------------------------------------------------------------------------------- /test_sample/performance_test/00_bitset2.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/00_bitset2.out -------------------------------------------------------------------------------- /test_sample/performance_test/00_bitset2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/00_bitset2.sy -------------------------------------------------------------------------------- /test_sample/performance_test/00_bitset3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/00_bitset3.in -------------------------------------------------------------------------------- /test_sample/performance_test/00_bitset3.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/00_bitset3.out -------------------------------------------------------------------------------- /test_sample/performance_test/00_bitset3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/00_bitset3.sy -------------------------------------------------------------------------------- /test_sample/performance_test/01_mm1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/01_mm1.in -------------------------------------------------------------------------------- /test_sample/performance_test/01_mm1.out: -------------------------------------------------------------------------------- 1 | -799731242 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/performance_test/01_mm1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/01_mm1.sy -------------------------------------------------------------------------------- /test_sample/performance_test/01_mm2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/01_mm2.in -------------------------------------------------------------------------------- /test_sample/performance_test/01_mm2.out: -------------------------------------------------------------------------------- 1 | 1691748973 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/performance_test/01_mm2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/01_mm2.sy -------------------------------------------------------------------------------- /test_sample/performance_test/01_mm3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/01_mm3.in -------------------------------------------------------------------------------- /test_sample/performance_test/01_mm3.out: -------------------------------------------------------------------------------- 1 | -1629892954 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/performance_test/01_mm3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/01_mm3.sy -------------------------------------------------------------------------------- /test_sample/performance_test/02_mv1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/02_mv1.in -------------------------------------------------------------------------------- /test_sample/performance_test/02_mv1.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/02_mv1.out -------------------------------------------------------------------------------- /test_sample/performance_test/02_mv1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/02_mv1.sy -------------------------------------------------------------------------------- /test_sample/performance_test/02_mv2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/02_mv2.in -------------------------------------------------------------------------------- /test_sample/performance_test/02_mv2.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/02_mv2.out -------------------------------------------------------------------------------- /test_sample/performance_test/02_mv2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/02_mv2.sy -------------------------------------------------------------------------------- /test_sample/performance_test/02_mv3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/02_mv3.in -------------------------------------------------------------------------------- /test_sample/performance_test/02_mv3.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/02_mv3.out -------------------------------------------------------------------------------- /test_sample/performance_test/02_mv3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/02_mv3.sy -------------------------------------------------------------------------------- /test_sample/performance_test/03_sort1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/03_sort1.in -------------------------------------------------------------------------------- /test_sample/performance_test/03_sort1.out: -------------------------------------------------------------------------------- 1 | 1576633458 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/performance_test/03_sort1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/03_sort1.sy -------------------------------------------------------------------------------- /test_sample/performance_test/03_sort2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/03_sort2.in -------------------------------------------------------------------------------- /test_sample/performance_test/03_sort2.out: -------------------------------------------------------------------------------- 1 | 609797596 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/performance_test/03_sort2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/03_sort2.sy -------------------------------------------------------------------------------- /test_sample/performance_test/03_sort3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/03_sort3.in -------------------------------------------------------------------------------- /test_sample/performance_test/03_sort3.out: -------------------------------------------------------------------------------- 1 | 863923989 2 | 0 3 | -------------------------------------------------------------------------------- /test_sample/performance_test/03_sort3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/03_sort3.sy -------------------------------------------------------------------------------- /test_sample/performance_test/04_spmv1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/04_spmv1.in -------------------------------------------------------------------------------- /test_sample/performance_test/04_spmv1.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/04_spmv1.out -------------------------------------------------------------------------------- /test_sample/performance_test/04_spmv1.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/04_spmv1.sy -------------------------------------------------------------------------------- /test_sample/performance_test/04_spmv2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/04_spmv2.in -------------------------------------------------------------------------------- /test_sample/performance_test/04_spmv2.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/04_spmv2.out -------------------------------------------------------------------------------- /test_sample/performance_test/04_spmv2.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/04_spmv2.sy -------------------------------------------------------------------------------- /test_sample/performance_test/04_spmv3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/04_spmv3.in -------------------------------------------------------------------------------- /test_sample/performance_test/04_spmv3.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/04_spmv3.out -------------------------------------------------------------------------------- /test_sample/performance_test/04_spmv3.sy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/test_sample/performance_test/04_spmv3.sy -------------------------------------------------------------------------------- /项目介绍.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaviesGit/SysY_compiler/HEAD/项目介绍.pdf --------------------------------------------------------------------------------