Test name | Component | Compiler exit code | Expected compiler exit code | Compiled program code | Expected compiled program code | Memory accesses | Max memory accesses | Result | Compiler Log | Simulator errors |
fibonacci |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
int |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
intintint |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
single_comment |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
multi_comment |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
nested_comments |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
all_tokens |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
escape_codes_1 |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
escape_codes_2 |
lexer |
250 |
250 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
multiple_characters_in_single_quotes |
lexer |
250 |
250 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
char_assign_digits |
lexer |
250 |
250 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
most_chars |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
no_main |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
minimal |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
undefined_token |
lexer |
250 |
250 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
identifiers |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
includes |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
preprocessing |
lexer |
250 |
250 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
empty |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
division |
lexer |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
fibonacci |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetic interpreter |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
sort linked list |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
int |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
single_comment |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
multi_comment |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
nested_comments |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
escape_codes_1 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
most_chars |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
no_main |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
minimal |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
just_main |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
identifiers |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
includes |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
break |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
continue |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
break_without_semicolon |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
continue_without_semicolon |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
empty |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
while_loop_1 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
while_loop_2 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
while_loop_3 |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
unterminated_stmt |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_application_1 |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_application_2 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_application_3 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_application_4 |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_declaration |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_declaration_without_semicolon |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_declaration_malformed |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_decl_def_and_struct |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_application_5 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
count_to_n |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
declarations |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
missing_declarations |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
double_declarations |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
reserved_keyword_as_identifier |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
program_ends_with_single_comment |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
empty_functions_1 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
empty_functions_2 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
empty_comparison |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
else_if |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetic_1 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetic_2 |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
broken_arithmetic |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
assignment_error |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
all_syntax_categories |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
all_syntax_categories_with_spaces |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
all_syntax_categories_compact |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
type_error |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
identifier_missing_type |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
nested_conditional_statements |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
empty_conditional |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
if_empty_body |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
statements_as_expressions |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
deep_body_nesting |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
variable_initialization |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
returning_multiple_times |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
else |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
struct_wrong |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
struct_usage |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
struct_declaration |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
ternary_comparison |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
pointer_pointer |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
pointer_dereference |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
struct_pointer_dereference |
parser |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
double_reference |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
type_cast |
parser |
245 |
245 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
Test name | Component | Compiler exit code | Expected compiler exit code | Compiled program code | Expected compiled program code | Memory accesses | Max memory accesses | Result | Compiler Log | Simulator errors |
fibonacci |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
loop break continue |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
escaped chars |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetic interpreter |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
sort linked list |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetics |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetics_plus |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetics_plus_mul |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetics_parentheses |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetics_modulo |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetics_division |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
unary_operator_1 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
unary_operator_2 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_call_1 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_call_2 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
return_1 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
return_2 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
return_3 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
return_4 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
nested_blocks_1 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
nested_blocks_2 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
blocks_in_sequence |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
assignment_1 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
assignment_2 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
print_s |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
read_c_1 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
read_c_2 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
read_i_1 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
read_i_2 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
print_c |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
print_i |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
while_loop |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
while_forever |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
if |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
if_else |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
if_else_if_else |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
if_if_else |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
procedure_declaration_1 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
procedure_declaration_2 |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
procedure_declarations |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_variable_declaration |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_variable_declarations |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
local_variable_declaration |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
local_variable_declarations |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
includes |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
minimal |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
struct_use |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
strliteral |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
pointers_and_arrays_and_structs |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
struct_decl |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
assignment_expression |
ast |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
fibonacci |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetic interpreter |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
sort linked list |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
pass array with correct size |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
pass array with incorrect size |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
pass array with incorrect dims |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
minimal |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_declaration_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
duplicate_global_declarations_1 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
duplicate_global_declarations_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
many_duplicate_global_declarations |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_shadowing_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_shadowing_2 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_shadowing_3 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_shadowing_4 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_shadowing_5 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
local_shadowing_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
local_shadowing_2 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
mutual_recursion |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
undeclared_function_1 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
undeclared_function_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
undeclared_parameter |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
print_s |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
print_i |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
print_c |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
read_i |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
read_c |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_variable_assignment_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
global_variable_assignment_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
local_variable_assignment_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
local_variable_assignment_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
void_variable |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
main_return_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
main_return_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arity_mismatch_1 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arity_mismatch_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_returns_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_returns_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetics_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetics_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
arithmetics_3 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_call_1 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
function_call_2 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
conditional_1 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
conditional_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
conditional_3 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
conditional_4 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
shadowing_6 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
shadowing_7 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
shadowing_12 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
valid_lvalues |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
invalid_lvalue |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
struct_delc |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
struct_delc_and_use |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
struct_nesting |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
assignment_expression_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
assignment_expression_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
assignment_expression_3 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
multidim_array_decl |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
multidim_array_access_1 |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
multidim_array_access_2 |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
Test name | Component | Compiler exit code | Expected compiler exit code | Compiled program code | Expected compiled program code | Memory accesses | Max memory accesses | Result | Compiler Log | Simulator errors |
hidden1 |
gen |
0 |
0 |
230 |
0 |
N/A |
N/A |
Fail |
|
Error in /tmp/tmpvvu5tv7u.asm line 1157: Runtime exception at 0x00400c98: store address not aligned on word boundary 0x10010005
Processing terminated due to errors.
|
hidden2 |
gen |
0 |
0 |
0 |
0 |
N/A |
N/A |
Pass |
|
|
hidden3 |
gen |
0 |
0 |
230 |
0 |
N/A |
N/A |
Fail |
|
|
hidden4 |
gen |
0 |
0 |
0 |
0 |
N/A |
N/A |
Pass |
|
|
hidden5 |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
java.base/java.util.Objects.requireNonNull(Objects.java:233)
gen.ExprCodeGen.visit(ExprCodeGen.java:175)
gen.ExprCodeGen.visit(ExprCodeGen.java:307)
gen.AddrCodeGen.visit(AddrCodeGen.java:46)
gen.ExprCodeGen.visit(ExprCodeGen.java:233)
gen.StmtCodeGen.visit(StmtCodeGen.java:59)
gen.StmtCodeGen.lambda$visit$0(StmtCodeGen.java:31)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.StmtCodeGen.visit(StmtCodeGen.java:30)
gen.FunCodeGen.visit(FunCodeGen.java:77)
gen.ProgramCodeGen.lambda$generate$1(ProgramCodeGen.java:73)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:64)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main3.compile(Main3.java:206)
Main3.main(Main3.java:68)
|
|
hidden6 |
gen |
0 |
0 |
230 |
0 |
N/A |
N/A |
Fail |
|
Error in /tmp/tmp_3xd2i03.asm line 431: Runtime exception at 0x0040035c: address out of range 0x7fbffffc
Processing terminated due to errors.
|
hidden7 |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
java.base/java.util.Objects.requireNonNull(Objects.java:233)
gen.ExprCodeGen.visit(ExprCodeGen.java:175)
gen.StmtCodeGen.visit(StmtCodeGen.java:59)
gen.StmtCodeGen.lambda$visit$0(StmtCodeGen.java:31)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.StmtCodeGen.visit(StmtCodeGen.java:30)
gen.Main_CodeGen.visit(Main_CodeGen.java:31)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:58)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main3.compile(Main3.java:206)
Main3.main(Main3.java:68)
|
|
hidden8 |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
java.base/java.util.Objects.requireNonNull(Objects.java:233)
gen.ExprCodeGen.visit(ExprCodeGen.java:175)
gen.ExprCodeGen.visit(ExprCodeGen.java:307)
gen.AddrCodeGen.visit(AddrCodeGen.java:46)
gen.ExprCodeGen.visit(ExprCodeGen.java:233)
gen.StmtCodeGen.visit(StmtCodeGen.java:59)
gen.StmtCodeGen.lambda$visit$0(StmtCodeGen.java:31)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.StmtCodeGen.visit(StmtCodeGen.java:30)
gen.Main_CodeGen.visit(Main_CodeGen.java:31)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:58)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main3.compile(Main3.java:206)
Main3.main(Main3.java:68)
|
|
hidden9 |
gen |
0 |
0 |
125 |
0 |
N/A |
N/A |
Fail |
|
|
hidden10 |
gen |
0 |
0 |
230 |
0 |
N/A |
N/A |
Fail |
|
Error in /tmp/tmpexgn13y4.asm line 931: Runtime exception at 0x00400a24: address out of range 0x7fbffffc
Processing terminated due to errors.
|
hidden11 |
gen |
0 |
0 |
230 |
0 |
N/A |
N/A |
Fail |
|
Error in /tmp/tmpiqe2a9n1.asm line 707: Runtime exception at 0x00400818: arithmetic overflow
Processing terminated due to errors.
|
hidden12 |
gen |
0 |
0 |
230 |
0 |
N/A |
N/A |
Fail |
|
|
hidden13 |
gen |
0 |
0 |
230 |
0 |
N/A |
N/A |
Fail |
|
Error in /tmp/tmpd5km9c5e.asm line 608: Runtime exception at 0x0040081c: address out of range 0x00000000
Processing terminated due to errors.
|
hidden14 |
gen |
0 |
0 |
230 |
0 |
N/A |
N/A |
Fail |
|
Error in /tmp/tmprc5__hej.asm line 178: Runtime exception at 0x0040015c: store address not aligned on word boundary 0xfffffff5
Processing terminated due to errors.
|
Test name | Component | Compiler exit code | Expected compiler exit code | Compiled program code | Expected compiled program code | Memory accesses | Max memory accesses | Result | Compiler Log | Simulator errors |
array_complex_reduction_8 |
regalloc |
0 |
0 |
230 |
0 |
N/A |
51 |
Fail |
|
Error in /tmp/tmp95mf9s2e.asm line 233 column 6: "v4": operand is of incorrect type
Error in /tmp/tmp95mf9s2e.asm line 434 column 6: "v149": operand is of incorrect type
Error in /tmp/tmp95mf9s2e.asm line 439 column 9: "v149": operand is of incorrect type
Error in /tmp/tmp95mf9s2e.asm line 782 column 10: "v4": operand is of incorrect type
Processing terminated due to errors.
|
arithmetic_chain_short_hoisted |
regalloc |
0 |
0 |
0 |
0 |
4 |
4 + 10% |
Pass |
|
|
balanced_arithmetic_tree_large |
regalloc |
0 |
0 |
0 |
0 |
4 |
4 + 10% |
Pass |
|
|
arithmetic_chains_long |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
balanced_addition_tree_small_hoisted |
regalloc |
0 |
0 |
0 |
0 |
4 |
4 + 10% |
Pass |
|
|
array_simple_reduction_1 |
regalloc |
0 |
0 |
230 |
0 |
N/A |
88 |
Fail |
|
|
array_complex_reduction_2 |
regalloc |
0 |
0 |
230 |
0 |
N/A |
77 |
Fail |
|
Error in /tmp/tmpeks49owc.asm line 973 column 6: "v28": operand is of incorrect type
Error in /tmp/tmpeks49owc.asm line 1006 column 6: "v31": operand is of incorrect type
Error in /tmp/tmpeks49owc.asm line 1349 column 10: "v28": operand is of incorrect type
Error in /tmp/tmpeks49owc.asm line 1427 column 10: "v31": operand is of incorrect type
Processing terminated due to errors.
|
array_complex_reduction_3 |
regalloc |
0 |
0 |
0 |
0 |
45 |
45 + 10% |
Pass |
|
|
balanced_arithmetic_tree_small_hoisted |
regalloc |
0 |
0 |
0 |
0 |
4 |
4 + 10% |
Pass |
|
|
array_complex_reduction_12 |
regalloc |
0 |
0 |
230 |
0 |
N/A |
50 |
Fail |
|
Error in /tmp/tmp6fq4n_mt.asm line 655: Runtime exception at 0x00400484: arithmetic overflow
Processing terminated due to errors.
|
arithmetic_chains_short_hoisted |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
arithmetic_chain_long_hoisted |
regalloc |
0 |
0 |
230 |
0 |
N/A |
14 |
Fail |
|
Error in /tmp/tmpchjgjkpr.asm line 84 column 6: "v13": operand is of incorrect type
Error in /tmp/tmpchjgjkpr.asm line 132 column 14: "v13": operand is of incorrect type
Processing terminated due to errors.
|
array_simple_reduction_4 |
regalloc |
0 |
0 |
0 |
0 |
22 |
22 + 10% |
Pass |
|
|
balanced_addition_tree_large_hoisted |
regalloc |
0 |
0 |
230 |
0 |
N/A |
86 |
Fail |
|
Error in /tmp/tmp0loqj8ky.asm line 29 column 6: "v2": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 34 column 6: "v3": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 39 column 6: "v4": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 44 column 6: "v5": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 49 column 6: "v6": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 59 column 6: "v8": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 64 column 6: "v9": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 69 column 6: "v10": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 79 column 6: "v12": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 84 column 6: "v13": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 94 column 6: "v15": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 99 column 6: "v16": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 104 column 6: "v17": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 114 column 6: "v19": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 119 column 6: "v20": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 124 column 6: "v21": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 129 column 6: "v22": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 144 column 6: "v25": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 154 column 6: "v27": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 159 column 6: "v28": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 164 column 6: "v29": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 174 column 6: "v31": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 179 column 6: "v32": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 194 column 6: "v35": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 199 column 6: "v36": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 209 column 6: "v38": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 214 column 6: "v39": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 219 column 6: "v40": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 234 column 6: "v43": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 249 column 6: "v46": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 254 column 6: "v47": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 262 column 6: "v101": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 273 column 10: "v32": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 277 column 6: "v100": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 288 column 6: "v104": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 299 column 10: "v38": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 303 column 10: "v104": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 307 column 10: "v100": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 318 column 6: "v108": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 329 column 14: "v13": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 333 column 6: "v107": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 344 column 10: "v47": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 355 column 14: "v19": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 363 column 10: "v107": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 378 column 14: "v22": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 389 column 14: "v25": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 404 column 14: "v27": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 415 column 10: "v2": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 423 column 6: "v114": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 434 column 10: "v3": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 445 column 10: "v4": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 460 column 10: "v6": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 471 column 10: "v8": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 483 column 10: "v114": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 524 column 10: "v17": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 535 column 10: "v20": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 580 column 10: "v28": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 591 column 10: "v31": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 614 column 14: "v5": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 640 column 10: "v40": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 651 column 10: "v43": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 670 column 10: "v46": operand is of incorrect type
Error in /tmp/tmp0loqj8ky.asm line 696 column 14: "v21": operand is of incorrect type
Processing terminated due to errors.
|
array_complex_reduction_4 |
regalloc |
0 |
0 |
0 |
0 |
25 |
25 + 10% |
Pass |
|
|
array_complex_reduction_6 |
regalloc |
0 |
0 |
230 |
0 |
N/A |
75 |
Fail |
|
Error in /tmp/tmps_gw23yc.asm line 374 column 6: "v1": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 379 column 6: "v2": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 384 column 6: "v3": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 399 column 6: "v6": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 404 column 6: "v7": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 409 column 6: "v8": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 419 column 6: "v10": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 424 column 6: "v11": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 459 column 6: "v18": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 464 column 6: "v19": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 484 column 6: "v23": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 614 column 10: "v1": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 648 column 10: "v2": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 682 column 10: "v3": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 784 column 10: "v6": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 818 column 10: "v7": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 852 column 10: "v8": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 894 column 10: "v10": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 920 column 10: "v11": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 1102 column 10: "v18": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 1128 column 10: "v19": operand is of incorrect type
Error in /tmp/tmps_gw23yc.asm line 1232 column 10: "v23": operand is of incorrect type
Processing terminated due to errors.
|
addition_chain_long |
regalloc |
0 |
0 |
0 |
0 |
4 |
4 + 10% |
Pass |
|
|
arithmetic_chains_short |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
array_multiplication_table_sum |
regalloc |
0 |
0 |
0 |
0 |
37 |
37 + 10% |
Pass |
|
|
array_simple_reduction_2 |
regalloc |
0 |
0 |
0 |
0 |
16 |
16 + 10% |
Pass |
|
|
hello_world |
regalloc |
0 |
0 |
0 |
0 |
4 |
4 + 10% |
Pass |
|
|
int_literals |
regalloc |
0 |
0 |
0 |
0 |
24 |
24 + 10% |
Pass |
|
|
nested_whiles |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
shadowing |
regalloc |
0 |
0 |
0 |
0 |
48 |
52 + 10% |
Pass |
|
|
arithmetics |
regalloc |
0 |
0 |
0 |
0 |
4 |
4 + 10% |
Pass |
|
|
character_comparison |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
branching_1 |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
branching_2 |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
branching_3 |
regalloc |
0 |
0 |
0 |
0 |
16 |
16 + 10% |
Pass |
|
|
count_down_from_n |
regalloc |
0 |
0 |
0 |
0 |
12 |
12 + 10% |
Pass |
|
|
count_to_n |
regalloc |
0 |
0 |
0 |
0 |
12 |
12 + 10% |
Pass |
|
|
global_variable |
regalloc |
0 |
0 |
0 |
0 |
6 |
6 + 10% |
Pass |
|
|
function_call |
regalloc |
0 |
0 |
0 |
0 |
17 |
17 + 10% |
Pass |
|
|
read_c |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
read_i |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
struct access |
regalloc |
0 |
0 |
0 |
0 |
8 |
8 + 10% |
Pass |
|
|
funcall with struct |
regalloc |
0 |
0 |
0 |
0 |
39 |
39 + 10% |
Pass |
|
|
cashmachine |
regalloc |
0 |
0 |
0 |
0 |
473 |
803 + 10% |
Pass |
|
|
dec2bin |
regalloc |
0 |
0 |
0 |
0 |
138 |
194 + 10% |
Pass |
|
|
fibonacci |
regalloc |
0 |
0 |
0 |
0 |
24 |
24 + 10% |
Pass |
|
|
factorial |
regalloc |
0 |
0 |
0 |
0 |
56 |
70 + 10% |
Pass |
|
|
is_leap_year |
regalloc |
0 |
0 |
0 |
0 |
28 |
28 + 10% |
Pass |
|
|
is_palindromic |
regalloc |
0 |
0 |
0 |
0 |
20 |
20 + 10% |
Pass |
|
|
is_prime |
regalloc |
0 |
0 |
0 |
0 |
36 |
46 + 10% |
Pass |
|
|
pascals_triangle |
regalloc |
0 |
0 |
230 |
0 |
N/A |
131 |
Fail |
|
|
tictactoe |
regalloc |
0 |
0 |
0 |
0 |
513 |
671 + 10% |
Pass |
|
|
towers_of_hanoi |
regalloc |
0 |
0 |
0 |
0 |
84 |
104 + 10% |
Pass |
|
|
binary_search |
regalloc |
0 |
0 |
230 |
0 |
N/A |
67 |
Fail |
|
Error in /tmp/tmp_a8mi7i4.asm line 334: Runtime exception at 0x004002a4: address out of range 0x30030004
Processing terminated due to errors.
|
Test name | Component | Compiler exit code | Expected compiler exit code | Compiled program code | Expected compiled program code | Memory accesses | Max memory accesses | Result | Compiler Log | Simulator errors |
single class declaration |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
extend class not yet declared |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class extend other class |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class method overriding |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class field overriding |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
simple class instantiation |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class instantiation without cast |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class instantiation with cast |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
instantiation undeclared class |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
field access simple |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
field access inherited |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
field access undeclared |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
field access multiple |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class function call overrided |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class function call and field access |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class function call undeclared |
sem |
1 |
240 |
N/A |
N/A |
N/A |
N/A |
Fail |
java.lang.Throwable:
sem.TypeAnalyzer.visit(TypeAnalyzer.java:344)
sem.TypeAnalyzer.visit(TypeAnalyzer.java:136)
sem.TypeAnalyzer.visit(TypeAnalyzer.java:74)
sem.TypeAnalyzer.visit(TypeAnalyzer.java:80)
sem.TypeAnalyzer.visit(TypeAnalyzer.java:87)
sem.SemanticAnalyzer.analyze(SemanticAnalyzer.java:17)
Main4.compile(Main4.java:208)
Main4.main(Main4.java:72)
|
|
class function call inherited |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class type casting with field access and function call |
sem |
0 |
0 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class type casting with invalid field access |
sem |
240 |
240 |
N/A |
N/A |
N/A |
N/A |
Pass |
|
|
class type casting with invalid function call |
sem |
1 |
240 |
N/A |
N/A |
N/A |
N/A |
Fail |
java.lang.Throwable:
sem.TypeAnalyzer.visit(TypeAnalyzer.java:344)
sem.TypeAnalyzer.visit(TypeAnalyzer.java:136)
sem.TypeAnalyzer.visit(TypeAnalyzer.java:74)
sem.TypeAnalyzer.visit(TypeAnalyzer.java:80)
sem.TypeAnalyzer.visit(TypeAnalyzer.java:87)
sem.SemanticAnalyzer.analyze(SemanticAnalyzer.java:17)
Main4.compile(Main4.java:208)
Main4.main(Main4.java:72)
|
|
simple_class |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_polymorphism |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_polymorphism_typecast |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_inheritance1 |
gen |
240 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
|
|
class_code_gen_inheritance2 |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_reference1 |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_reference2 |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_reference3 |
gen |
240 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
|
|
class_code_gen_reference4 |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_function_call1 |
gen |
245 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
|
|
class_code_gen_function_call2 |
gen |
245 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
|
|
class_code_gen_function_call_reference |
gen |
245 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
|
|
class_code_gen_function_call_typecast |
gen |
245 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
|
|
class_code_gen_function_call_poly |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_inheritance_field |
gen |
240 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
|
|
class_code_gen_inheritance_function |
gen |
240 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
|
|
class_code_gen_shadow_field |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_fields1 |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_fields2 |
gen |
1 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
java.lang.Throwable:
ast.ClassType.get_size(ClassType.java:29)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:37)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:44)
gen.LocalMemAllocCodeGen.visit(LocalMemAllocCodeGen.java:33)
gen.ProgramCodeGen.lambda$generate$0(ProgramCodeGen.java:55)
java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
gen.ProgramCodeGen.generate(ProgramCodeGen.java:49)
gen.CodeGenerator.emitProgram(CodeGenerator.java:67)
Main4.compile(Main4.java:235)
Main4.main(Main4.java:72)
|
|
class_code_gen_function_inherited |
gen |
240 |
0 |
0 |
0 |
N/A |
N/A |
Fail |
|
|