diff --git a/Test.jai b/Test.jai index 8a44afe..a32e3ad 100644 --- a/Test.jai +++ b/Test.jai @@ -21,7 +21,7 @@ COMPILED_FOLDER :: "compiled"; SEMANTIC_ANALYSIS_FOLDER :: "semant"; TESTS_FOLDER :: "test"; -SHADER_EXTENSION :: "inx"; +SHADER_EXTENSION :: "ink"; SUITE_EXTENSION :: "suite"; Stage_Flags :: enum_flags u16 { diff --git a/test/arrays.inx b/test/arrays.ink similarity index 100% rename from test/arrays.inx rename to test/arrays.ink diff --git a/test/assign_arithmetic_expression.inx b/test/assign_arithmetic_expression.ink similarity index 100% rename from test/assign_arithmetic_expression.inx rename to test/assign_arithmetic_expression.ink diff --git a/test/basic_property_and_return_value.inx b/test/basic_property_and_return_value.ink similarity index 100% rename from test/basic_property_and_return_value.inx rename to test/basic_property_and_return_value.ink diff --git a/test/codegen_all.suite b/test/codegen_all.suite index 3c509d8..c1d2088 100644 --- a/test/codegen_all.suite +++ b/test/codegen_all.suite @@ -1,20 +1,20 @@ -test/assign_arithmetic_expression.inx codegen -test/basic_property_and_return_value.inx codegen -test/complicated_computation.inx codegen -test/constant_buffer.inx codegen -test/empty_struct.inx codegen -test/empty_vertex_main.inx codegen -test/empty_vertex_main_with_position_parameter.inx codegen -test/field_assignment.inx codegen -test/function_call.inx codegen -test/function_call_out_of_order_declaration.inx codegen -test/function_call_return.inx codegen -test/meta_block.inx codegen -test/multiple_functions.inx codegen -test/multiple_semicolons_everywhere.inx codegen -test/pass_and_access_struct_fields_in_functions.inx codegen -test/passthrough.inx codegen -test/property_rename.inx codegen -test/simple_struct_access.inx codegen -test/struct_within_struct.inx codegen -test/use_builtin_functions.inx codegen +test/assign_arithmetic_expression.ink codegen +test/basic_property_and_return_value.ink codegen +test/complicated_computation.ink codegen +test/constant_buffer.ink codegen +test/empty_struct.ink codegen +test/empty_vertex_main.ink codegen +test/empty_vertex_main_with_position_parameter.ink codegen +test/field_assignment.ink codegen +test/function_call.ink codegen +test/function_call_out_of_order_declaration.ink codegen +test/function_call_return.ink codegen +test/meta_block.ink codegen +test/multiple_functions.ink codegen +test/multiple_semicolons_everywhere.ink codegen +test/pass_and_access_struct_fields_in_functions.ink codegen +test/passthrough.ink codegen +test/property_rename.ink codegen +test/simple_struct_access.ink codegen +test/struct_within_struct.ink codegen +test/use_builtin_functions.ink codegen diff --git a/test/compile_all.suite b/test/compile_all.suite index 91c8fce..d2e4495 100644 --- a/test/compile_all.suite +++ b/test/compile_all.suite @@ -1,20 +1,20 @@ -test/assign_arithmetic_expression.inx compile -test/basic_property_and_return_value.inx compile -test/complicated_computation.inx compile -test/empty_struct.inx compile -test/empty_vertex_main.inx compile -test/empty_vertex_main_with_position_parameter.inx compile -test/field_assignment.inx compile -test/float_suffix.inx compile -test/function_call.inx compile -test/function_call_out_of_order_declaration.inx compile -test/function_call_return.inx compile -test/functions_with_same_name.inx compile -test/meta_block.inx compile -test/multiple_functions.inx compile -test/multiple_semicolons_everywhere.inx compile -test/pass_and_access_struct_fields_in_functions.inx compile -test/passthrough.inx compile -test/simple_struct_access.inx compile -test/struct_within_struct.inx compile -test/use_builtin_functions.inx compile \ No newline at end of file +test/assign_arithmetic_expression.ink compile +test/basic_property_and_return_value.ink compile +test/complicated_computation.ink compile +test/empty_struct.ink compile +test/empty_vertex_main.ink compile +test/empty_vertex_main_with_position_parameter.ink compile +test/field_assignment.ink compile +test/float_suffix.ink compile +test/function_call.ink compile +test/function_call_out_of_order_declaration.ink compile +test/function_call_return.ink compile +test/functions_with_same_name.ink compile +test/meta_block.ink compile +test/multiple_functions.ink compile +test/multiple_semicolons_everywhere.ink compile +test/pass_and_access_struct_fields_in_functions.ink compile +test/passthrough.ink compile +test/simple_struct_access.ink compile +test/struct_within_struct.ink compile +test/use_builtin_functions.ink compile \ No newline at end of file diff --git a/test/complicated_computation.inx b/test/complicated_computation.ink similarity index 100% rename from test/complicated_computation.inx rename to test/complicated_computation.ink diff --git a/test/constant_buffer.inx b/test/constant_buffer.ink similarity index 100% rename from test/constant_buffer.inx rename to test/constant_buffer.ink diff --git a/test/double_access.inx b/test/double_access.ink similarity index 100% rename from test/double_access.inx rename to test/double_access.ink diff --git a/test/empty_struct.inx b/test/empty_struct.ink similarity index 100% rename from test/empty_struct.inx rename to test/empty_struct.ink diff --git a/test/empty_vertex_main.inx b/test/empty_vertex_main.ink similarity index 100% rename from test/empty_vertex_main.inx rename to test/empty_vertex_main.ink diff --git a/test/empty_vertex_main_with_position_parameter.inx b/test/empty_vertex_main_with_position_parameter.ink similarity index 100% rename from test/empty_vertex_main_with_position_parameter.inx rename to test/empty_vertex_main_with_position_parameter.ink diff --git a/test/field_assignment.inx b/test/field_assignment.ink similarity index 100% rename from test/field_assignment.inx rename to test/field_assignment.ink diff --git a/test/field_without_type_specifier.inx b/test/field_without_type_specifier.ink similarity index 100% rename from test/field_without_type_specifier.inx rename to test/field_without_type_specifier.ink diff --git a/test/float_suffix.inx b/test/float_suffix.ink similarity index 100% rename from test/float_suffix.inx rename to test/float_suffix.ink diff --git a/test/function_call.inx b/test/function_call.ink similarity index 100% rename from test/function_call.inx rename to test/function_call.ink diff --git a/test/function_call_out_of_order_declaration.inx b/test/function_call_out_of_order_declaration.ink similarity index 100% rename from test/function_call_out_of_order_declaration.inx rename to test/function_call_out_of_order_declaration.ink diff --git a/test/function_call_return.inx b/test/function_call_return.ink similarity index 100% rename from test/function_call_return.inx rename to test/function_call_return.ink diff --git a/test/function_with_int_return.inx b/test/function_with_int_return.ink similarity index 100% rename from test/function_with_int_return.inx rename to test/function_with_int_return.ink diff --git a/test/functions_with_same_name.inx b/test/functions_with_same_name.ink similarity index 100% rename from test/functions_with_same_name.inx rename to test/functions_with_same_name.ink diff --git a/test/large_block.inx b/test/large_block.ink similarity index 100% rename from test/large_block.inx rename to test/large_block.ink diff --git a/test/lex_all.suite b/test/lex_all.suite index fded0e2..03f71bb 100644 --- a/test/lex_all.suite +++ b/test/lex_all.suite @@ -1,33 +1,33 @@ -test/assign_arithmetic_expression.inx lex -test/basic_property_and_return_value.inx lex -test/complicated_computation.inx lex -test/constant_buffer.inx lex -test/empty_struct.inx lex -test/empty_vertex_main.inx lex -test/empty_vertex_main_with_position_parameter.inx lex -test/field_assignment.inx lex -test/field_without_type_specifier.inx lex -test/float_suffix.inx lex -test/function_call.inx lex -test/function_call_out_of_order_declaration.inx lex -test/function_call_return.inx lex -test/functions_with_same_name.inx lex -test/function_with_int_return.inx lex -test/meta_block.inx lex -test/multiple_functions.inx lex -test/multiple_semicolons_everywhere.inx lex -test/pass_and_access_struct_fields_in_functions.inx lex -test/passthrough.inx lex -test/property_rename.inx lex -test/redeclared_variable.inx lex -test/simple_struct_access.inx lex -test/struct_access_primitive_type.inx lex -test/struct_within_struct.inx lex -test/type_as_variable_name.inx lex -test/undeclared_function.inx lex -test/undeclared_symbol.inx lex -test/unknown_overload.inx lex -test/use_builtin_functions.inx lex -test/wrong_argument_count.inx lex -test/wrong_multiply.inx lex -test/wrong_type_for_function.inx lex +test/assign_arithmetic_expression.ink lex +test/basic_property_and_return_value.ink lex +test/complicated_computation.ink lex +test/constant_buffer.ink lex +test/empty_struct.ink lex +test/empty_vertex_main.ink lex +test/empty_vertex_main_with_position_parameter.ink lex +test/field_assignment.ink lex +test/field_without_type_specifier.ink lex +test/float_suffix.ink lex +test/function_call.ink lex +test/function_call_out_of_order_declaration.ink lex +test/function_call_return.ink lex +test/functions_with_same_name.ink lex +test/function_with_int_return.ink lex +test/meta_block.ink lex +test/multiple_functions.ink lex +test/multiple_semicolons_everywhere.ink lex +test/pass_and_access_struct_fields_in_functions.ink lex +test/passthrough.ink lex +test/property_rename.ink lex +test/redeclared_variable.ink lex +test/simple_struct_access.ink lex +test/struct_access_primitive_type.ink lex +test/struct_within_struct.ink lex +test/type_as_variable_name.ink lex +test/undeclared_function.ink lex +test/undeclared_symbol.ink lex +test/unknown_overload.ink lex +test/use_builtin_functions.ink lex +test/wrong_argument_count.ink lex +test/wrong_multiply.ink lex +test/wrong_type_for_function.ink lex diff --git a/test/meta_block.inx b/test/meta_block.ink similarity index 100% rename from test/meta_block.inx rename to test/meta_block.ink diff --git a/test/multiple_functions.inx b/test/multiple_functions.ink similarity index 100% rename from test/multiple_functions.inx rename to test/multiple_functions.ink diff --git a/test/multiple_semicolons_everywhere.inx b/test/multiple_semicolons_everywhere.ink similarity index 100% rename from test/multiple_semicolons_everywhere.inx rename to test/multiple_semicolons_everywhere.ink diff --git a/test/parse_all.suite b/test/parse_all.suite index 5df0817..21b2e0f 100644 --- a/test/parse_all.suite +++ b/test/parse_all.suite @@ -1,33 +1,33 @@ -test/assign_arithmetic_expression.inx parse -test/basic_property_and_return_value.inx parse -test/complicated_computation.inx parse -test/constant_buffer.inx parse -test/empty_struct.inx parse -test/empty_vertex_main.inx parse -test/empty_vertex_main_with_position_parameter.inx parse -test/field_assignment.inx parse -test/field_without_type_specifier.inx parse -test/float_suffix.inx parse -test/function_call.inx parse -test/function_call_out_of_order_declaration.inx parse -test/function_call_return.inx parse -test/functions_with_same_name.inx parse -test/function_with_int_return.inx parse -test/meta_block.inx parse -test/multiple_functions.inx parse -test/multiple_semicolons_everywhere.inx parse -test/pass_and_access_struct_fields_in_functions.inx parse -test/passthrough.inx parse -test/property_rename.inx parse -test/redeclared_variable.inx parse -test/simple_struct_access.inx parse -test/struct_access_primitive_type.inx parse -test/struct_within_struct.inx parse -test/type_as_variable_name.inx parse -test/undeclared_function.inx parse -test/undeclared_symbol.inx parse -test/unknown_overload.inx parse -test/use_builtin_functions.inx parse -test/wrong_argument_count.inx parse -test/wrong_multiply.inx parse -test/wrong_type_for_function.inx parse +test/assign_arithmetic_expression.ink parse +test/basic_property_and_return_value.ink parse +test/complicated_computation.ink parse +test/constant_buffer.ink parse +test/empty_struct.ink parse +test/empty_vertex_main.ink parse +test/empty_vertex_main_with_position_parameter.ink parse +test/field_assignment.ink parse +test/field_without_type_specifier.ink parse +test/float_suffix.ink parse +test/function_call.ink parse +test/function_call_out_of_order_declaration.ink parse +test/function_call_return.ink parse +test/functions_with_same_name.ink parse +test/function_with_int_return.ink parse +test/meta_block.ink parse +test/multiple_functions.ink parse +test/multiple_semicolons_everywhere.ink parse +test/pass_and_access_struct_fields_in_functions.ink parse +test/passthrough.ink parse +test/property_rename.ink parse +test/redeclared_variable.ink parse +test/simple_struct_access.ink parse +test/struct_access_primitive_type.ink parse +test/struct_within_struct.ink parse +test/type_as_variable_name.ink parse +test/undeclared_function.ink parse +test/undeclared_symbol.ink parse +test/unknown_overload.ink parse +test/use_builtin_functions.ink parse +test/wrong_argument_count.ink parse +test/wrong_multiply.ink parse +test/wrong_type_for_function.ink parse diff --git a/test/pass_and_access_struct_fields_in_functions.inx b/test/pass_and_access_struct_fields_in_functions.ink similarity index 100% rename from test/pass_and_access_struct_fields_in_functions.inx rename to test/pass_and_access_struct_fields_in_functions.ink diff --git a/test/passthrough.inx b/test/passthrough.ink similarity index 100% rename from test/passthrough.inx rename to test/passthrough.ink diff --git a/test/precedence_test.inx b/test/precedence_test.ink similarity index 100% rename from test/precedence_test.inx rename to test/precedence_test.ink diff --git a/test/property_rename.inx b/test/property_rename.ink similarity index 100% rename from test/property_rename.inx rename to test/property_rename.ink diff --git a/test/redeclared_variable.inx b/test/redeclared_variable.ink similarity index 100% rename from test/redeclared_variable.inx rename to test/redeclared_variable.ink diff --git a/test/semant_all.suite b/test/semant_all.suite index 4ca2269..21f11dd 100644 --- a/test/semant_all.suite +++ b/test/semant_all.suite @@ -1,30 +1,30 @@ -test/assign_arithmetic_expression.inx semant -test/basic_property_and_return_value.inx semant -test/complicated_computation.inx semant -test/constant_buffer.inx semant -test/empty_struct.inx semant -test/empty_vertex_main.inx semant -test/empty_vertex_main_with_position_parameter.inx semant -test/field_assignment.inx semant -test/function_call.inx semant -test/function_call_out_of_order_declaration.inx semant -test/function_call_return.inx semant -test/functions_with_same_name.inx semant -test/function_with_int_return.inx semant -test/multiple_functions.inx semant -test/multiple_semicolons_everywhere.inx semant -test/pass_and_access_struct_fields_in_functions.inx semant -test/passthrough.inx semant -test/property_rename.inx semant -test/redeclared_variable.inx semant -test/simple_struct_access.inx semant -test/struct_access_primitive_type.inx semant -test/struct_within_struct.inx semant -test/type_as_variable_name.inx semant -test/undeclared_function.inx semant -test/undeclared_symbol.inx semant -test/unknown_overload.inx semant -test/use_builtin_functions.inx semant -test/wrong_argument_count.inx semant -test/wrong_multiply.inx semant -test/wrong_type_for_function.inx semant +test/assign_arithmetic_expression.ink semant +test/basic_property_and_return_value.ink semant +test/complicated_computation.ink semant +test/constant_buffer.ink semant +test/empty_struct.ink semant +test/empty_vertex_main.ink semant +test/empty_vertex_main_with_position_parameter.ink semant +test/field_assignment.ink semant +test/function_call.ink semant +test/function_call_out_of_order_declaration.ink semant +test/function_call_return.ink semant +test/functions_with_same_name.ink semant +test/function_with_int_return.ink semant +test/multiple_functions.ink semant +test/multiple_semicolons_everywhere.ink semant +test/pass_and_access_struct_fields_in_functions.ink semant +test/passthrough.ink semant +test/property_rename.ink semant +test/redeclared_variable.ink semant +test/simple_struct_access.ink semant +test/struct_access_primitive_type.ink semant +test/struct_within_struct.ink semant +test/type_as_variable_name.ink semant +test/undeclared_function.ink semant +test/undeclared_symbol.ink semant +test/unknown_overload.ink semant +test/use_builtin_functions.ink semant +test/wrong_argument_count.ink semant +test/wrong_multiply.ink semant +test/wrong_type_for_function.ink semant diff --git a/test/simple_float2_expressions.inx b/test/simple_float2_expressions.ink similarity index 100% rename from test/simple_float2_expressions.inx rename to test/simple_float2_expressions.ink diff --git a/test/simple_struct_access.inx b/test/simple_struct_access.ink similarity index 100% rename from test/simple_struct_access.inx rename to test/simple_struct_access.ink diff --git a/test/struct_access_primitive_type.inx b/test/struct_access_primitive_type.ink similarity index 100% rename from test/struct_access_primitive_type.inx rename to test/struct_access_primitive_type.ink diff --git a/test/struct_with_multiple_members.inx b/test/struct_with_multiple_members.ink similarity index 100% rename from test/struct_with_multiple_members.inx rename to test/struct_with_multiple_members.ink diff --git a/test/struct_within_struct.inx b/test/struct_within_struct.ink similarity index 100% rename from test/struct_within_struct.inx rename to test/struct_within_struct.ink diff --git a/test/texture_sample.inx b/test/texture_sample.ink similarity index 100% rename from test/texture_sample.inx rename to test/texture_sample.ink diff --git a/test/type_as_function_name.inx b/test/type_as_function_name.ink similarity index 100% rename from test/type_as_function_name.inx rename to test/type_as_function_name.ink diff --git a/test/type_as_variable_name.inx b/test/type_as_variable_name.ink similarity index 100% rename from test/type_as_variable_name.inx rename to test/type_as_variable_name.ink diff --git a/test/undeclared_function.inx b/test/undeclared_function.ink similarity index 100% rename from test/undeclared_function.inx rename to test/undeclared_function.ink diff --git a/test/undeclared_symbol.inx b/test/undeclared_symbol.ink similarity index 100% rename from test/undeclared_symbol.inx rename to test/undeclared_symbol.ink diff --git a/test/unknown_overload.inx b/test/unknown_overload.ink similarity index 100% rename from test/unknown_overload.inx rename to test/unknown_overload.ink diff --git a/test/use_builtin_functions.inx b/test/use_builtin_functions.ink similarity index 100% rename from test/use_builtin_functions.inx rename to test/use_builtin_functions.ink diff --git a/test/wrong_argument_count.inx b/test/wrong_argument_count.ink similarity index 100% rename from test/wrong_argument_count.inx rename to test/wrong_argument_count.ink diff --git a/test/wrong_multiply.inx b/test/wrong_multiply.ink similarity index 100% rename from test/wrong_multiply.inx rename to test/wrong_multiply.ink diff --git a/test/wrong_type_for_function.inx b/test/wrong_type_for_function.ink similarity index 100% rename from test/wrong_type_for_function.inx rename to test/wrong_type_for_function.ink