Test report

Aliascivet
Date2021-08-23_09h00m02s
Commit ID7e10250159e9fd5b07856976d9481b71ed3d9aaf
Tests summary
PartPassed / Total
Part 1: Lexer and parser0 / 75
Part 2: AST and sematic analysis0 / 94
Part 3: Code generation0 / 27
Part 4: Register Allocation0 / 20
Exit codes
CodeExplanation
250One or more lexer error(s).
245One or more parse error(s).
240One or more semantic error(s).
230Compiled program produced wrong output.
224AST construction is wrong.
204Compiled program not found.
124Your compiler or program timed out (your compiler or produced program might have an infinite loop).
1JVM exited prematurely. It occurs when your compiler has infinite recursion, requires a different Java version, or when you have forgotten to push some filess with git, etc.
Test nameComponentCompiler exit codeExpected compiler exit codeProgram exit codeExpected program exit codeResult
fibonacci lexer 1 0 0 0 Fail
int lexer 1 0 0 0 Fail
intintint lexer 1 0 0 0 Fail
single_comment lexer 1 0 0 0 Fail
multi_comment lexer 1 0 0 0 Fail
nested_comments lexer 1 0 0 0 Fail
all_tokens lexer 1 0 0 0 Fail
escape_codes_1 lexer 1 0 0 0 Fail
escape_codes_2 lexer 1 250 0 0 Fail
multiple_characters_in_single_quotes lexer 1 250 0 0 Fail
char_assign_digits lexer 1 250 0 0 Fail
most_chars lexer 1 0 0 0 Fail
no_main lexer 1 0 0 0 Fail
minimal lexer 1 0 0 0 Fail
undefined_token lexer 1 250 0 0 Fail
identifiers lexer 1 0 0 0 Fail
includes lexer 1 0 0 0 Fail
preprocessing lexer 1 250 0 0 Fail
empty lexer 1 0 0 0 Fail
division lexer 1 0 0 0 Fail
fibonacci parser 1 0 0 0 Fail
int parser 1 245 0 0 Fail
single_comment parser 1 0 0 0 Fail
multi_comment parser 1 0 0 0 Fail
nested_comments parser 1 245 0 0 Fail
escape_codes_1 parser 1 0 0 0 Fail
most_chars parser 1 0 0 0 Fail
no_main parser 1 245 0 0 Fail
minimal parser 1 0 0 0 Fail
just_main parser 1 245 0 0 Fail
identifiers parser 1 0 0 0 Fail
includes parser 1 0 0 0 Fail
empty parser 1 0 0 0 Fail
while_loop_1 parser 1 0 0 0 Fail
while_loop_2 parser 1 0 0 0 Fail
while_loop_3 parser 1 245 0 0 Fail
unterminated_stmt parser 1 245 0 0 Fail
function_application_1 parser 1 245 0 0 Fail
function_application_2 parser 1 0 0 0 Fail
function_application_3 parser 1 0 0 0 Fail
function_application_4 parser 1 245 0 0 Fail
function_application_5 parser 1 0 0 0 Fail
count_to_n parser 1 0 0 0 Fail
declarations parser 1 0 0 0 Fail
missing_declarations parser 1 0 0 0 Fail
double_declarations parser 1 0 0 0 Fail
reserved_keyword_as_identifier parser 1 245 0 0 Fail
program_ends_with_single_comment parser 1 0 0 0 Fail
empty_functions_1 parser 1 0 0 0 Fail
empty_functions_2 parser 1 0 0 0 Fail
empty_comparison parser 1 245 0 0 Fail
else_if parser 1 0 0 0 Fail
arithmetic_1 parser 1 0 0 0 Fail
arithmetic_2 parser 1 0 0 0 Fail
broken_arithmetic parser 1 245 0 0 Fail
assignment_error parser 1 245 0 0 Fail
all_syntax_categories parser 1 0 0 0 Fail
all_syntax_categories_with_spaces parser 1 0 0 0 Fail
all_syntax_categories_compact parser 1 0 0 0 Fail
type_error parser 1 0 0 0 Fail
identifier_missing_type parser 1 245 0 0 Fail
nested_conditional_statements parser 1 0 0 0 Fail
empty_conditional parser 1 245 0 0 Fail
if_empty_body parser 1 0 0 0 Fail
statements_as_expressions parser 1 245 0 0 Fail
deep_body_nesting parser 1 0 0 0 Fail
variable_initialization parser 1 245 0 0 Fail
returning_multiple_times parser 1 0 0 0 Fail
else parser 1 245 0 0 Fail
struct_wrong parser 1 245 0 0 Fail
struct_usage parser 1 0 0 0 Fail
struct_declaration parser 1 0 0 0 Fail
ternary_comparison parser 1 0 0 0 Fail
pointer_pointer parser 1 0 0 0 Fail
type_cast parser 1 245 0 0 Fail
Test nameComponentCompiler exit codeExpected compiler exit codeProgram exit codeExpected program exit codeResult
fibonacci ast 1 0 0 0 Fail
arithmetics ast 1 0 0 0 Fail
arithmetics_plus ast 1 0 0 0 Fail
arithmetics_plus_mul ast 1 0 0 0 Fail
arithmetics_parentheses ast 1 0 0 0 Fail
arithmetics_modulo ast 1 0 0 0 Fail
arithmetics_division ast 1 0 0 0 Fail
unary_operator_1 ast 1 0 0 0 Fail
unary_operator_2 ast 1 0 0 0 Fail
function_call_1 ast 1 0 0 0 Fail
function_call_2 ast 1 0 0 0 Fail
return_1 ast 1 0 0 0 Fail
return_2 ast 1 0 0 0 Fail
return_3 ast 1 0 0 0 Fail
return_4 ast 1 0 0 0 Fail
nested_blocks_1 ast 1 0 0 0 Fail
nested_blocks_2 ast 1 0 0 0 Fail
blocks_in_sequence ast 1 0 0 0 Fail
assignment_1 ast 1 0 0 0 Fail
assignment_2 ast 1 0 0 0 Fail
print_s ast 1 0 0 0 Fail
read_c_1 ast 1 0 0 0 Fail
read_c_2 ast 1 0 0 0 Fail
read_i_1 ast 1 0 0 0 Fail
read_i_2 ast 1 0 0 0 Fail
print_c ast 1 0 0 0 Fail
print_i ast 1 0 0 0 Fail
while_loop ast 1 0 0 0 Fail
while_forever ast 1 0 0 0 Fail
if ast 1 0 0 0 Fail
if_else ast 1 0 0 0 Fail
if_else_if_else ast 1 0 0 0 Fail
if_if_else ast 1 0 0 0 Fail
procedure_declaration_1 ast 1 0 0 0 Fail
procedure_declaration_2 ast 1 0 0 0 Fail
procedure_declarations ast 1 0 0 0 Fail
global_variable_declaration ast 1 0 0 0 Fail
global_variable_declarations ast 1 0 0 0 Fail
local_variable_declaration ast 1 0 0 0 Fail
local_variable_declarations ast 1 0 0 0 Fail
includes ast 1 0 0 0 Fail
minimal ast 1 0 0 0 Fail
struct_use ast 1 0 0 0 Fail
strliteral ast 1 0 0 0 Fail
pointers_and_arrays_and_structs ast 1 0 0 0 Fail
struct_decl ast 1 0 0 0 Fail
minimal sem 1 0 0 0 Fail
global_declaration_1 sem 1 0 0 0 Fail
duplicate_global_declarations_1 sem 1 240 0 0 Fail
duplicate_global_declarations_2 sem 1 240 0 0 Fail
many_duplicate_global_declarations sem 1 240 0 0 Fail
global_shadowing_1 sem 1 0 0 0 Fail
global_shadowing_2 sem 1 0 0 0 Fail
global_shadowing_3 sem 1 240 0 0 Fail
global_shadowing_4 sem 1 0 0 0 Fail
global_shadowing_5 sem 1 240 0 0 Fail
local_shadowing_1 sem 1 0 0 0 Fail
local_shadowing_2 sem 1 0 0 0 Fail
mutual_recursion sem 1 240 0 0 Fail
undeclared_function_1 sem 1 240 0 0 Fail
undeclared_function_2 sem 1 240 0 0 Fail
undeclared_parameter sem 1 240 0 0 Fail
print_s sem 1 0 0 0 Fail
print_i sem 1 0 0 0 Fail
print_c sem 1 0 0 0 Fail
read_i sem 1 0 0 0 Fail
read_c sem 1 0 0 0 Fail
global_variable_assignment_1 sem 1 0 0 0 Fail
global_variable_assignment_2 sem 1 240 0 0 Fail
local_variable_assignment_1 sem 1 0 0 0 Fail
local_variable_assignment_2 sem 1 240 0 0 Fail
void_variable sem 1 240 0 0 Fail
main_return_1 sem 1 0 0 0 Fail
main_return_2 sem 1 240 0 0 Fail
arity_mismatch_1 sem 1 240 0 0 Fail
arity_mismatch_2 sem 1 240 0 0 Fail
function_returns_1 sem 1 0 0 0 Fail
function_returns_2 sem 1 240 0 0 Fail
arithmetics_1 sem 1 0 0 0 Fail
arithmetics_2 sem 1 240 0 0 Fail
arithmetics_3 sem 1 240 0 0 Fail
function_call_1 sem 1 240 0 0 Fail
function_call_2 sem 1 0 0 0 Fail
conditional_1 sem 1 240 0 0 Fail
conditional_2 sem 1 240 0 0 Fail
conditional_3 sem 1 240 0 0 Fail
conditional_4 sem 1 240 0 0 Fail
shadowing_6 sem 1 0 0 0 Fail
shadowing_7 sem 1 0 0 0 Fail
shadowing_8 sem 1 0 0 0 Fail
shadowing_9 sem 1 0 0 0 Fail
shadowing_10 sem 1 240 0 0 Fail
shadowing_11 sem 1 240 0 0 Fail
shadowing_12 sem 1 240 0 0 Fail
Test nameComponentCompiler exit codeExpected compiler exit codeProgram exit codeExpected program exit codeResult
hello_world gen 1 0 0 0 Fail
int_literals gen 1 0 0 0 Fail
nested_whiles gen 1 0 0 0 Fail
shadowing gen 1 0 0 0 Fail
arithmetics gen 1 0 0 0 Fail
character_comparison gen 1 0 0 0 Fail
branching_1 gen 1 0 0 0 Fail
branching_2 gen 1 0 0 0 Fail
branching_3 gen 1 0 0 0 Fail
count_down_from_n gen 1 0 0 0 Fail
count_to_n gen 1 0 0 0 Fail
global_variable gen 1 0 0 0 Fail
function_call gen 1 0 0 0 Fail
while_true gen 1 0 0 0 Fail
read_c gen 1 0 0 0 Fail
read_i gen 1 0 0 0 Fail
cashmachine gen 1 0 0 0 Fail
dec2bin gen 1 0 0 0 Fail
fibonacci gen 1 0 0 0 Fail
factorial gen 1 0 0 0 Fail
is_leap_year gen 1 0 0 0 Fail
is_palindromic gen 1 0 0 0 Fail
is_prime gen 1 0 0 0 Fail
pascals_triangle gen 1 0 0 0 Fail
tictactoe gen 1 0 0 0 Fail
towers_of_hanoi gen 1 0 0 0 Fail
binary_search gen 1 0 0 0 Fail
Test nameComponentCompiler exit codeExpected compiler exit codeProgram exit codeExpected program exit codeResult
array_complex_reduction_8 regalloc 1 0 0 0 Fail
arithmetic_chain_short_hoisted regalloc 1 0 0 0 Fail
balanced_arithmetic_tree_large regalloc 1 0 0 0 Fail
arithmetic_chains_long regalloc 1 0 0 0 Fail
balanced_addition_tree_small_hoisted regalloc 1 0 0 0 Fail
array_simple_reduction_1 regalloc 1 0 0 0 Fail
array_complex_reduction_2 regalloc 1 0 0 0 Fail
array_complex_reduction_3 regalloc 1 0 0 0 Fail
balanced_arithmetic_tree_small_hoisted regalloc 1 0 0 0 Fail
array_complex_reduction_12 regalloc 1 0 0 0 Fail
arithmetic_chains_short_hoisted regalloc 1 0 0 0 Fail
arithmetic_chain_long_hoisted regalloc 1 0 0 0 Fail
array_simple_reduction_4 regalloc 1 0 0 0 Fail
balanced_addition_tree_large_hoisted regalloc 1 0 0 0 Fail
array_complex_reduction_4 regalloc 1 0 0 0 Fail
array_complex_reduction_6 regalloc 1 0 0 0 Fail
addition_chain_long regalloc 1 0 0 0 Fail
arithmetic_chains_short regalloc 1 0 0 0 Fail
array_multiplication_table_sum regalloc 1 0 0 0 Fail
array_simple_reduction_2 regalloc 1 0 0 0 Fail