├── .gitattributes ├── .github └── workflows │ ├── build.yml │ └── gen_docs.yml ├── .gitignore ├── README.md ├── bootstrap └── stage0.c ├── compiler ├── ast │ ├── nodes.oc │ ├── operators.oc │ ├── program.oc │ └── scopes.oc ├── attributes.oc ├── docgen.oc ├── errors.oc ├── lexer.oc ├── lsp │ ├── cli │ │ ├── README.md │ │ ├── finder.oc │ │ ├── mod.oc │ │ └── utils.oc │ └── server │ │ └── mod.oc ├── main.oc ├── parser.oc ├── passes │ ├── code_generator.oc │ ├── generic_pass.oc │ ├── mark_dead_code.oc │ ├── mod.oc │ ├── namespace_dump.oc │ ├── register_types.oc │ ├── reorder_symbols.oc │ ├── typechecker.oc │ └── visitor.oc ├── tokens.oc ├── types.oc └── utils.oc ├── docs ├── CODE_STYLE.md ├── COMPILER_DEVELOPMENT.md └── GETTING_STARTED.md ├── examples ├── compress.oc ├── echo_server.oc ├── jpegify.oc ├── mui │ ├── main.oc │ └── raytrace.oc ├── mui_example.oc ├── raytrace.oc ├── sdl_raytrace.oc └── threading.oc ├── meta ├── bootstrap.sh ├── compile_examples.sh ├── gen_bootstrap.sh ├── gen_docs.sh ├── install.sh ├── make_lsp_test.py ├── run.sh └── test.py ├── std ├── argparse.oc ├── bencode.oc ├── bitio.oc ├── buffer.oc ├── bump_alloc.oc ├── compact_map.oc ├── complex.oc ├── curl.oc ├── deque.oc ├── disjoint_set.oc ├── fcntl.oc ├── fft.oc ├── fs.oc ├── gc.oc ├── glut.oc ├── hash │ ├── sha1.oc │ ├── sha256.oc │ └── utils.oc ├── heap.oc ├── huffman.oc ├── image │ ├── draw.oc │ ├── mod.oc │ ├── png.oc │ ├── ppm.oc │ └── qoi.oc ├── json.oc ├── libc │ ├── errno.oc │ ├── mod.oc │ └── unistd.oc ├── linkedlist.oc ├── logging.oc ├── map.oc ├── math.oc ├── matrix.oc ├── mem.oc ├── midi.oc ├── mod.oc ├── mui.oc ├── mui_og │ └── mod.oc ├── og │ ├── assets │ │ ├── FFL.txt │ │ ├── font.ttf │ │ └── pew.wav │ ├── colors.oc │ ├── interface.c │ ├── mod.oc │ ├── state.oc │ └── utils.oc ├── ogui │ ├── atlas.oc │ └── mod.oc ├── option.oc ├── prelude.h ├── process.oc ├── random.oc ├── readline.oc ├── result.oc ├── sdl │ ├── gfx.oc │ ├── image.oc │ ├── mixer.oc │ ├── mod.oc │ └── ttf.oc ├── set.oc ├── setjmp.oc ├── signal.oc ├── socket.oc ├── sort.oc ├── span.oc ├── sv.oc ├── testing.oc ├── thread.oc ├── time.oc ├── timer.oc ├── traits │ ├── compare.oc │ ├── eq.oc │ └── hash.oc ├── value.oc ├── variadic.oc ├── vec.oc ├── vector.oc ├── video_renderer │ ├── ffmpeg.oc │ ├── mod.oc │ └── sdl.oc └── zlib.oc └── tests ├── argparse.oc ├── array_literal.oc ├── array_type.oc ├── arrow_function.oc ├── arrow_void.oc ├── assert.oc ├── assign.oc ├── assign_fn_ptr_typedef.oc ├── atomic_attr.oc ├── attributes.oc ├── auto_iter.oc ├── auto_not_eq.oc ├── bad ├── arith_binop_not_num.oc ├── array_literal_mismatch_types.oc ├── array_literal_wrong_size.oc ├── array_literal_wrong_type.oc ├── assign_bad_type.oc ├── assign_method_to_var.oc ├── assign_to_lvalue.oc ├── break_outside.oc ├── call_non_function.oc ├── closures │ ├── infer_bad_param_type.oc │ ├── infer_bad_return_type.oc │ ├── infer_closure_expr_wrong.oc │ ├── infer_no_hint.oc │ ├── wrong_type_0.oc │ └── wrong_type_1.oc ├── compiler_op_new_pointer.oc ├── const_expr_unsupported.oc ├── const_expr_var.oc ├── const_in_func.oc ├── constants_infer.oc ├── continue_outside.oc ├── deref_non_ptr.oc ├── empty_format_string_expr.oc ├── enum_call_value.oc ├── enum_duplicate_fields.oc ├── enum_get_member_dot.oc ├── enum_method_with_same_name.oc ├── error_prop_func_no_result.oc ├── error_prop_incompatible.oc ├── error_prop_not_result.oc ├── error_prop_result_to_option.oc ├── error_unwrap_not_result.oc ├── expr_statements │ ├── block_multiple_yields.oc │ ├── if_missing_else.oc │ ├── if_missing_yield.oc │ ├── match_empty.oc │ ├── match_missing_yield.oc │ ├── nested_block_yield.oc │ ├── yield_type_mismatch.oc │ └── yield_type_mismatch_if.oc ├── field_type_undef.oc ├── flags_enum_values.oc ├── formatting_attr_args_no_dollar.oc ├── formatting_attr_no_args.oc ├── func │ ├── bad_arg_type.oc │ ├── bad_num_args.oc │ ├── duplicate_labelled.oc │ ├── invalid_param.oc │ ├── invalid_return.oc │ ├── labelled_instead_of_positional.oc │ ├── missing_required_arg.oc │ ├── not_found.oc │ ├── positional_after_labelled.oc │ ├── redef.oc │ ├── ret_from_void.oc │ ├── ret_type.oc │ ├── unexpected_labelled.oc │ └── variadic_default.oc ├── global_vars_infer.oc ├── if_not_bool.oc ├── incorrect_labelled_param.oc ├── inheritance │ ├── invalid_type.oc │ └── not_type.oc ├── invalid_dot_shorthand.oc ├── invalid_yield.oc ├── is_expr_standalone.oc ├── let_in_struct_field.oc ├── lexer1.oc ├── logical_ops_not_bool.oc ├── map_literal_cannot_infer.oc ├── map_literal_shorthand_bad_type.oc ├── map_literal_shorthand_bad_value_type.oc ├── map_literal_shorthand_inconsistent_type.oc ├── match │ ├── bool_not_exhaustive.oc │ ├── duplicate.oc │ ├── eq_overload_not_bool.oc │ ├── no_body.oc │ ├── not_exhaustive.oc │ └── unsupported_types.oc ├── method_ampersand_without_this.oc ├── methods_invalid_struct.oc ├── methods_redef.oc ├── missing_curlies.oc ├── missing_import.oc ├── missing_line_end.oc ├── no_return_if.oc ├── no_return_regular.oc ├── no_return_switch.oc ├── no_static_member.oc ├── not_always_return.oc ├── operator_overload_multiple.oc ├── parser_sync.oc ├── post_inc_expr.oc ├── print_first_not_string.oc ├── question_not_ptr.oc ├── shadowing_var_decl.oc ├── sizeof_bad_type.oc ├── static_member_invalid_struct.oc ├── static_method_on_instance.oc ├── struct_method_redef_field.oc ├── struct_redef.oc ├── sv_format_not_simple.oc ├── template_mismatch_arg_count.oc ├── test_mode_fail.oc ├── try_member_non_ptr_lhs.oc ├── try_member_non_ptr_rhs.oc ├── type_mismatch_struct.oc ├── typed_literals.oc ├── typedef_in_func.oc ├── unhandled_expression_sym.oc ├── untyped_template.oc ├── value_enums │ ├── bad_var_init.oc │ ├── constructor_extra_argument.oc │ ├── constructor_missing_args.oc │ ├── constructor_no_args.oc │ ├── constructor_unnamed_label.oc │ ├── constructor_wrong_types.oc │ ├── different_field_in_branch.oc │ ├── different_field_type_in_branch.oc │ ├── invalid_match_expr.oc │ ├── invalid_shared_field_access.oc │ ├── missing_field_in_branch.oc │ ├── no_compare_with_values.oc │ ├── non_exhaustive.oc │ ├── shared_field_enum_compare.oc │ ├── shared_field_missing_constructor.oc │ ├── shared_field_missing_match.oc │ ├── shared_field_name_conflict_0.oc │ ├── shared_field_name_conflict_1.oc │ ├── wrong_num_fields.oc │ └── wrong_type_in_field.oc ├── var1.oc ├── var_cannot_infer.oc ├── var_invalid_type.oc ├── var_not_found.oc ├── var_redef.oc ├── var_wrong_type.oc ├── variadic_format_no_string.oc ├── variadic_format_not_string_literal.oc ├── vec_literal_cannot_infer.oc ├── vec_literal_shorthand_bad_type.oc ├── vec_literal_shorthand_inconsistent_type.oc ├── vec_type_shorthand_bad_type.oc ├── while_not_bool.oc └── yield_multiple_times.oc ├── bindings.oc ├── binop1.oc ├── binop2.oc ├── binop_order.oc ├── binops.oc ├── break.oc ├── break_inside_match_stmt.oc ├── cast.oc ├── chars.oc ├── close_paren_bug.oc ├── closure.oc ├── closure_infer_types.oc ├── closure_with_closed_func_ptr.oc ├── compact_map.oc ├── compact_map_bug.oc ├── compact_map_single_delete.oc ├── compiler_c_extensions.oc ├── compiler_op_new.oc ├── complex_imports ├── 01 │ ├── bar │ │ └── baz │ │ │ └── chris.oc │ ├── foo.oc │ └── main.oc ├── 02 │ ├── bad_1.oc │ ├── foo │ │ └── bar │ │ │ └── baz.oc │ ├── good_1.oc │ ├── good_2.oc │ ├── good_3.oc │ └── main.oc ├── 03 │ ├── foo │ │ ├── bar.oc │ │ └── mod.oc │ └── main.oc └── 04 │ ├── compiler.oc │ ├── main.oc │ └── vm │ ├── gc.oc │ └── mod.oc ├── constant_order.oc ├── constants.oc ├── constructors.oc ├── continue.oc ├── custom_varargs_functions.oc ├── default_args.oc ├── defer.oc ├── defer_loop.oc ├── dset.oc ├── emoji_var.oc ├── empty_ret.oc ├── enum.oc ├── enum_auto_dbg.oc ├── enum_flags.oc ├── enum_value_attr.oc ├── enum_value_dbg.oc ├── eprint_functions.oc ├── error_prop.oc ├── error_unwrap_not_printable.oc ├── error_unwrap_option.oc ├── error_unwrap_result.oc ├── escaped_backslash_fstr.oc ├── export_imported.oc ├── expr-statements.oc ├── expr_block.oc ├── expr_if.oc ├── extern.oc ├── file_io.oc ├── flatten_attr.oc ├── float.oc ├── for.oc ├── for_missing_parts.oc ├── format_str.oc ├── format_str_specs.oc ├── formatting_attribute.oc ├── func_pointers.oc ├── funccall.oc ├── funcorder.oc ├── global_var_dead_type.oc ├── global_vars.oc ├── global_vars_order.oc ├── hashmap_iter.oc ├── heap.oc ├── higher_order.oc ├── if.oc ├── if_optional_then.oc ├── import_mod_as_this.oc ├── import_typedef.oc ├── in_operator.oc ├── index_operator.oc ├── infer_basics.oc ├── infer_enums.oc ├── infer_enums_new.oc ├── infer_negate_int_type.oc ├── inference.oc ├── inheritance.oc ├── instance_method_as_static.oc ├── int_lit_underscores.oc ├── int_types.oc ├── is_expr_loop_break.oc ├── json_test.oc ├── labelled_params.oc ├── libs.oc ├── linkedlist.oc ├── logical.oc ├── lsp ├── completions │ ├── enum_match_case.oc │ ├── enum_ns_lookup.oc │ ├── import_part_multiple.oc │ ├── import_part_single.oc │ ├── match_expr_no_body.oc │ ├── ns_typedef.oc │ ├── outer_scope.oc │ ├── struct_static_method.oc │ ├── struct_var_member.oc │ ├── var_const.oc │ ├── var_enum_with_hint.oc │ └── var_name.oc ├── hover │ ├── closure_body_captured.oc │ ├── closure_call.oc │ ├── closure_params.oc │ ├── closure_type.oc │ ├── function_definition.oc │ ├── global_const.oc │ ├── global_var.oc │ ├── import_part_multiple.oc │ ├── import_part_single.oc │ ├── string_literal.oc │ ├── value_enum_match_field.oc │ ├── value_enum_match_variant.oc │ ├── value_enum_name.oc │ ├── value_enum_variant_constructor.oc │ ├── value_enum_variant_field.oc │ ├── value_enum_variant_name.oc │ ├── var_decl_infer.oc │ ├── var_usage.oc │ ├── vector_literal_shorthand.oc │ ├── vector_type_shorthand.oc │ └── vector_type_shorthand_var.oc └── sighelp │ ├── func_first_arg.oc │ ├── func_last_arg.oc │ ├── func_no_active_arg.oc │ ├── struct_first_arg.oc │ ├── struct_last_arg.oc │ └── struct_no_active__arg.oc ├── map_shorthand.oc ├── match.oc ├── match_bool.oc ├── match_char.oc ├── match_expr_exit.oc ├── match_no_enum_name.oc ├── match_string.oc ├── metatemplates.oc ├── method_pass_this_obj_ptr.oc ├── method_template_struct.oc ├── methods.oc ├── methods_on_primitive.oc ├── multi_if_is_expr_0.oc ├── multi_if_is_expr_1.oc ├── multi_if_syntax.oc ├── multi_line_string.oc ├── multiline_string.oc ├── multiple_comparison.oc ├── namespace_import_bug.oc ├── namespaces └── structs.oc ├── nullptr.oc ├── operator_overloading.oc ├── operator_overloading_template.oc ├── pointer_arithmetic.oc ├── pointer_to_array.oc ├── pointers.oc ├── pre_post_inc_dec.oc ├── print1.oc ├── proc.oc ├── process_get_output.oc ├── question.oc ├── raw_string_literals.oc ├── relative_imports ├── a.oc ├── b │ ├── b.oc │ └── c │ │ └── c.oc └── main.oc ├── return_analysis.oc ├── return_analysis_assert_false.oc ├── return_analysis_exit.oc ├── same_line_return.oc ├── same_method_name.oc ├── set.oc ├── set_operator_overloads.oc ├── sha1.oc ├── sha256.oc ├── shift_equals_operator.oc ├── sizeof_cast.oc ├── socket.oc ├── sorting.oc ├── str_eq_operator.oc ├── strings.oc ├── struct_constructor_default.oc ├── struct_init_array_literal.oc ├── struct_multi_field_syntax.oc ├── structorder.oc ├── structs.oc ├── structs_recursive.oc ├── sv_buf_format.oc ├── template_constructor.oc ├── template_enum.oc ├── template_function.oc ├── template_static_methods.oc ├── template_structs.oc ├── template_with_ptr.oc ├── test_mode_pass.oc ├── thread.oc ├── try_member.oc ├── typecheck_basic.oc ├── typed_int_lits.oc ├── typedef.oc ├── typedef_using_imported.oc ├── union.oc ├── union_constructor.oc ├── value_enum.oc ├── value_enum_2.oc ├── value_enum_eq_variant_name.oc ├── value_enum_is_expr.oc ├── value_enum_match_alias.oc ├── value_enum_match_single_alias.oc ├── value_enum_shared_fields.oc ├── value_enum_simple_compare.oc ├── value_operator_overloads.oc ├── variadic.oc ├── vars.oc ├── vector.oc ├── vector_shorthand.oc └── while.oc /.gitattributes: -------------------------------------------------------------------------------- 1 | *.oc linguist-language=Rust 2 | bootstrap/*.c binary -text -diff 3 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/gen_docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/.github/workflows/gen_docs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/README.md -------------------------------------------------------------------------------- /bootstrap/stage0.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/bootstrap/stage0.c -------------------------------------------------------------------------------- /compiler/ast/nodes.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/ast/nodes.oc -------------------------------------------------------------------------------- /compiler/ast/operators.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/ast/operators.oc -------------------------------------------------------------------------------- /compiler/ast/program.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/ast/program.oc -------------------------------------------------------------------------------- /compiler/ast/scopes.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/ast/scopes.oc -------------------------------------------------------------------------------- /compiler/attributes.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/attributes.oc -------------------------------------------------------------------------------- /compiler/docgen.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/docgen.oc -------------------------------------------------------------------------------- /compiler/errors.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/errors.oc -------------------------------------------------------------------------------- /compiler/lexer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/lexer.oc -------------------------------------------------------------------------------- /compiler/lsp/cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/lsp/cli/README.md -------------------------------------------------------------------------------- /compiler/lsp/cli/finder.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/lsp/cli/finder.oc -------------------------------------------------------------------------------- /compiler/lsp/cli/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/lsp/cli/mod.oc -------------------------------------------------------------------------------- /compiler/lsp/cli/utils.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/lsp/cli/utils.oc -------------------------------------------------------------------------------- /compiler/lsp/server/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/lsp/server/mod.oc -------------------------------------------------------------------------------- /compiler/main.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/main.oc -------------------------------------------------------------------------------- /compiler/parser.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/parser.oc -------------------------------------------------------------------------------- /compiler/passes/code_generator.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/passes/code_generator.oc -------------------------------------------------------------------------------- /compiler/passes/generic_pass.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/passes/generic_pass.oc -------------------------------------------------------------------------------- /compiler/passes/mark_dead_code.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/passes/mark_dead_code.oc -------------------------------------------------------------------------------- /compiler/passes/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/passes/mod.oc -------------------------------------------------------------------------------- /compiler/passes/namespace_dump.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/passes/namespace_dump.oc -------------------------------------------------------------------------------- /compiler/passes/register_types.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/passes/register_types.oc -------------------------------------------------------------------------------- /compiler/passes/reorder_symbols.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/passes/reorder_symbols.oc -------------------------------------------------------------------------------- /compiler/passes/typechecker.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/passes/typechecker.oc -------------------------------------------------------------------------------- /compiler/passes/visitor.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/passes/visitor.oc -------------------------------------------------------------------------------- /compiler/tokens.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/tokens.oc -------------------------------------------------------------------------------- /compiler/types.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/types.oc -------------------------------------------------------------------------------- /compiler/utils.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/compiler/utils.oc -------------------------------------------------------------------------------- /docs/CODE_STYLE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/docs/CODE_STYLE.md -------------------------------------------------------------------------------- /docs/COMPILER_DEVELOPMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/docs/COMPILER_DEVELOPMENT.md -------------------------------------------------------------------------------- /docs/GETTING_STARTED.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/docs/GETTING_STARTED.md -------------------------------------------------------------------------------- /examples/compress.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/examples/compress.oc -------------------------------------------------------------------------------- /examples/echo_server.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/examples/echo_server.oc -------------------------------------------------------------------------------- /examples/jpegify.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/examples/jpegify.oc -------------------------------------------------------------------------------- /examples/mui/main.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/examples/mui/main.oc -------------------------------------------------------------------------------- /examples/mui/raytrace.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/examples/mui/raytrace.oc -------------------------------------------------------------------------------- /examples/mui_example.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/examples/mui_example.oc -------------------------------------------------------------------------------- /examples/raytrace.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/examples/raytrace.oc -------------------------------------------------------------------------------- /examples/sdl_raytrace.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/examples/sdl_raytrace.oc -------------------------------------------------------------------------------- /examples/threading.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/examples/threading.oc -------------------------------------------------------------------------------- /meta/bootstrap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/meta/bootstrap.sh -------------------------------------------------------------------------------- /meta/compile_examples.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/meta/compile_examples.sh -------------------------------------------------------------------------------- /meta/gen_bootstrap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/meta/gen_bootstrap.sh -------------------------------------------------------------------------------- /meta/gen_docs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/meta/gen_docs.sh -------------------------------------------------------------------------------- /meta/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/meta/install.sh -------------------------------------------------------------------------------- /meta/make_lsp_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/meta/make_lsp_test.py -------------------------------------------------------------------------------- /meta/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/meta/run.sh -------------------------------------------------------------------------------- /meta/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/meta/test.py -------------------------------------------------------------------------------- /std/argparse.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/argparse.oc -------------------------------------------------------------------------------- /std/bencode.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/bencode.oc -------------------------------------------------------------------------------- /std/bitio.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/bitio.oc -------------------------------------------------------------------------------- /std/buffer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/buffer.oc -------------------------------------------------------------------------------- /std/bump_alloc.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/bump_alloc.oc -------------------------------------------------------------------------------- /std/compact_map.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/compact_map.oc -------------------------------------------------------------------------------- /std/complex.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/complex.oc -------------------------------------------------------------------------------- /std/curl.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/curl.oc -------------------------------------------------------------------------------- /std/deque.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/deque.oc -------------------------------------------------------------------------------- /std/disjoint_set.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/disjoint_set.oc -------------------------------------------------------------------------------- /std/fcntl.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/fcntl.oc -------------------------------------------------------------------------------- /std/fft.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/fft.oc -------------------------------------------------------------------------------- /std/fs.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/fs.oc -------------------------------------------------------------------------------- /std/gc.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/gc.oc -------------------------------------------------------------------------------- /std/glut.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/glut.oc -------------------------------------------------------------------------------- /std/hash/sha1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/hash/sha1.oc -------------------------------------------------------------------------------- /std/hash/sha256.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/hash/sha256.oc -------------------------------------------------------------------------------- /std/hash/utils.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/hash/utils.oc -------------------------------------------------------------------------------- /std/heap.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/heap.oc -------------------------------------------------------------------------------- /std/huffman.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/huffman.oc -------------------------------------------------------------------------------- /std/image/draw.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/image/draw.oc -------------------------------------------------------------------------------- /std/image/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/image/mod.oc -------------------------------------------------------------------------------- /std/image/png.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/image/png.oc -------------------------------------------------------------------------------- /std/image/ppm.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/image/ppm.oc -------------------------------------------------------------------------------- /std/image/qoi.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/image/qoi.oc -------------------------------------------------------------------------------- /std/json.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/json.oc -------------------------------------------------------------------------------- /std/libc/errno.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/libc/errno.oc -------------------------------------------------------------------------------- /std/libc/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/libc/mod.oc -------------------------------------------------------------------------------- /std/libc/unistd.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/libc/unistd.oc -------------------------------------------------------------------------------- /std/linkedlist.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/linkedlist.oc -------------------------------------------------------------------------------- /std/logging.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/logging.oc -------------------------------------------------------------------------------- /std/map.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/map.oc -------------------------------------------------------------------------------- /std/math.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/math.oc -------------------------------------------------------------------------------- /std/matrix.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/matrix.oc -------------------------------------------------------------------------------- /std/mem.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/mem.oc -------------------------------------------------------------------------------- /std/midi.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/midi.oc -------------------------------------------------------------------------------- /std/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/mod.oc -------------------------------------------------------------------------------- /std/mui.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/mui.oc -------------------------------------------------------------------------------- /std/mui_og/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/mui_og/mod.oc -------------------------------------------------------------------------------- /std/og/assets/FFL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/og/assets/FFL.txt -------------------------------------------------------------------------------- /std/og/assets/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/og/assets/font.ttf -------------------------------------------------------------------------------- /std/og/assets/pew.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/og/assets/pew.wav -------------------------------------------------------------------------------- /std/og/colors.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/og/colors.oc -------------------------------------------------------------------------------- /std/og/interface.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/og/interface.c -------------------------------------------------------------------------------- /std/og/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/og/mod.oc -------------------------------------------------------------------------------- /std/og/state.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/og/state.oc -------------------------------------------------------------------------------- /std/og/utils.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/og/utils.oc -------------------------------------------------------------------------------- /std/ogui/atlas.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/ogui/atlas.oc -------------------------------------------------------------------------------- /std/ogui/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/ogui/mod.oc -------------------------------------------------------------------------------- /std/option.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/option.oc -------------------------------------------------------------------------------- /std/prelude.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/prelude.h -------------------------------------------------------------------------------- /std/process.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/process.oc -------------------------------------------------------------------------------- /std/random.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/random.oc -------------------------------------------------------------------------------- /std/readline.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/readline.oc -------------------------------------------------------------------------------- /std/result.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/result.oc -------------------------------------------------------------------------------- /std/sdl/gfx.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/sdl/gfx.oc -------------------------------------------------------------------------------- /std/sdl/image.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/sdl/image.oc -------------------------------------------------------------------------------- /std/sdl/mixer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/sdl/mixer.oc -------------------------------------------------------------------------------- /std/sdl/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/sdl/mod.oc -------------------------------------------------------------------------------- /std/sdl/ttf.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/sdl/ttf.oc -------------------------------------------------------------------------------- /std/set.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/set.oc -------------------------------------------------------------------------------- /std/setjmp.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/setjmp.oc -------------------------------------------------------------------------------- /std/signal.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/signal.oc -------------------------------------------------------------------------------- /std/socket.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/socket.oc -------------------------------------------------------------------------------- /std/sort.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/sort.oc -------------------------------------------------------------------------------- /std/span.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/span.oc -------------------------------------------------------------------------------- /std/sv.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/sv.oc -------------------------------------------------------------------------------- /std/testing.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/testing.oc -------------------------------------------------------------------------------- /std/thread.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/thread.oc -------------------------------------------------------------------------------- /std/time.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/time.oc -------------------------------------------------------------------------------- /std/timer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/timer.oc -------------------------------------------------------------------------------- /std/traits/compare.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/traits/compare.oc -------------------------------------------------------------------------------- /std/traits/eq.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/traits/eq.oc -------------------------------------------------------------------------------- /std/traits/hash.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/traits/hash.oc -------------------------------------------------------------------------------- /std/value.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/value.oc -------------------------------------------------------------------------------- /std/variadic.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/variadic.oc -------------------------------------------------------------------------------- /std/vec.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/vec.oc -------------------------------------------------------------------------------- /std/vector.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/vector.oc -------------------------------------------------------------------------------- /std/video_renderer/ffmpeg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/video_renderer/ffmpeg.oc -------------------------------------------------------------------------------- /std/video_renderer/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/video_renderer/mod.oc -------------------------------------------------------------------------------- /std/video_renderer/sdl.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/video_renderer/sdl.oc -------------------------------------------------------------------------------- /std/zlib.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/std/zlib.oc -------------------------------------------------------------------------------- /tests/argparse.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/argparse.oc -------------------------------------------------------------------------------- /tests/array_literal.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/array_literal.oc -------------------------------------------------------------------------------- /tests/array_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/array_type.oc -------------------------------------------------------------------------------- /tests/arrow_function.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/arrow_function.oc -------------------------------------------------------------------------------- /tests/arrow_void.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/arrow_void.oc -------------------------------------------------------------------------------- /tests/assert.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/assert.oc -------------------------------------------------------------------------------- /tests/assign.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/assign.oc -------------------------------------------------------------------------------- /tests/assign_fn_ptr_typedef.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/assign_fn_ptr_typedef.oc -------------------------------------------------------------------------------- /tests/atomic_attr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/atomic_attr.oc -------------------------------------------------------------------------------- /tests/attributes.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/attributes.oc -------------------------------------------------------------------------------- /tests/auto_iter.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/auto_iter.oc -------------------------------------------------------------------------------- /tests/auto_not_eq.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/auto_not_eq.oc -------------------------------------------------------------------------------- /tests/bad/arith_binop_not_num.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/arith_binop_not_num.oc -------------------------------------------------------------------------------- /tests/bad/array_literal_mismatch_types.oc: -------------------------------------------------------------------------------- 1 | /// fail: Expected type str, but got u32 2 | 3 | def main() { 4 | let foo = ["hello", 3] 5 | } -------------------------------------------------------------------------------- /tests/bad/array_literal_wrong_size.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/array_literal_wrong_size.oc -------------------------------------------------------------------------------- /tests/bad/array_literal_wrong_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/array_literal_wrong_type.oc -------------------------------------------------------------------------------- /tests/bad/assign_bad_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/assign_bad_type.oc -------------------------------------------------------------------------------- /tests/bad/assign_method_to_var.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/assign_method_to_var.oc -------------------------------------------------------------------------------- /tests/bad/assign_to_lvalue.oc: -------------------------------------------------------------------------------- 1 | /// fail: Must be an l-value 2 | 3 | def main() { 4 | 5 + 1 = 4 5 | } -------------------------------------------------------------------------------- /tests/bad/break_outside.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/break_outside.oc -------------------------------------------------------------------------------- /tests/bad/call_non_function.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/call_non_function.oc -------------------------------------------------------------------------------- /tests/bad/closures/infer_bad_param_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/closures/infer_bad_param_type.oc -------------------------------------------------------------------------------- /tests/bad/closures/infer_bad_return_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/closures/infer_bad_return_type.oc -------------------------------------------------------------------------------- /tests/bad/closures/infer_closure_expr_wrong.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/closures/infer_closure_expr_wrong.oc -------------------------------------------------------------------------------- /tests/bad/closures/infer_no_hint.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/closures/infer_no_hint.oc -------------------------------------------------------------------------------- /tests/bad/closures/wrong_type_0.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/closures/wrong_type_0.oc -------------------------------------------------------------------------------- /tests/bad/closures/wrong_type_1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/closures/wrong_type_1.oc -------------------------------------------------------------------------------- /tests/bad/compiler_op_new_pointer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/compiler_op_new_pointer.oc -------------------------------------------------------------------------------- /tests/bad/const_expr_unsupported.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/const_expr_unsupported.oc -------------------------------------------------------------------------------- /tests/bad/const_expr_var.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/const_expr_var.oc -------------------------------------------------------------------------------- /tests/bad/const_in_func.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/const_in_func.oc -------------------------------------------------------------------------------- /tests/bad/constants_infer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/constants_infer.oc -------------------------------------------------------------------------------- /tests/bad/continue_outside.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/continue_outside.oc -------------------------------------------------------------------------------- /tests/bad/deref_non_ptr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/deref_non_ptr.oc -------------------------------------------------------------------------------- /tests/bad/empty_format_string_expr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/empty_format_string_expr.oc -------------------------------------------------------------------------------- /tests/bad/enum_call_value.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/enum_call_value.oc -------------------------------------------------------------------------------- /tests/bad/enum_duplicate_fields.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/enum_duplicate_fields.oc -------------------------------------------------------------------------------- /tests/bad/enum_get_member_dot.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/enum_get_member_dot.oc -------------------------------------------------------------------------------- /tests/bad/enum_method_with_same_name.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/enum_method_with_same_name.oc -------------------------------------------------------------------------------- /tests/bad/error_prop_func_no_result.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/error_prop_func_no_result.oc -------------------------------------------------------------------------------- /tests/bad/error_prop_incompatible.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/error_prop_incompatible.oc -------------------------------------------------------------------------------- /tests/bad/error_prop_not_result.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/error_prop_not_result.oc -------------------------------------------------------------------------------- /tests/bad/error_prop_result_to_option.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/error_prop_result_to_option.oc -------------------------------------------------------------------------------- /tests/bad/error_unwrap_not_result.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/error_unwrap_not_result.oc -------------------------------------------------------------------------------- /tests/bad/expr_statements/block_multiple_yields.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/expr_statements/block_multiple_yields.oc -------------------------------------------------------------------------------- /tests/bad/expr_statements/if_missing_else.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/expr_statements/if_missing_else.oc -------------------------------------------------------------------------------- /tests/bad/expr_statements/if_missing_yield.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/expr_statements/if_missing_yield.oc -------------------------------------------------------------------------------- /tests/bad/expr_statements/match_empty.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/expr_statements/match_empty.oc -------------------------------------------------------------------------------- /tests/bad/expr_statements/match_missing_yield.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/expr_statements/match_missing_yield.oc -------------------------------------------------------------------------------- /tests/bad/expr_statements/nested_block_yield.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/expr_statements/nested_block_yield.oc -------------------------------------------------------------------------------- /tests/bad/expr_statements/yield_type_mismatch.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/expr_statements/yield_type_mismatch.oc -------------------------------------------------------------------------------- /tests/bad/expr_statements/yield_type_mismatch_if.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/expr_statements/yield_type_mismatch_if.oc -------------------------------------------------------------------------------- /tests/bad/field_type_undef.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/field_type_undef.oc -------------------------------------------------------------------------------- /tests/bad/flags_enum_values.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/flags_enum_values.oc -------------------------------------------------------------------------------- /tests/bad/formatting_attr_args_no_dollar.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/formatting_attr_args_no_dollar.oc -------------------------------------------------------------------------------- /tests/bad/formatting_attr_no_args.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/formatting_attr_no_args.oc -------------------------------------------------------------------------------- /tests/bad/func/bad_arg_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/bad_arg_type.oc -------------------------------------------------------------------------------- /tests/bad/func/bad_num_args.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/bad_num_args.oc -------------------------------------------------------------------------------- /tests/bad/func/duplicate_labelled.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/duplicate_labelled.oc -------------------------------------------------------------------------------- /tests/bad/func/invalid_param.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/invalid_param.oc -------------------------------------------------------------------------------- /tests/bad/func/invalid_return.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/invalid_return.oc -------------------------------------------------------------------------------- /tests/bad/func/labelled_instead_of_positional.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/labelled_instead_of_positional.oc -------------------------------------------------------------------------------- /tests/bad/func/missing_required_arg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/missing_required_arg.oc -------------------------------------------------------------------------------- /tests/bad/func/not_found.oc: -------------------------------------------------------------------------------- 1 | /// fail: Couldn't find this identifier 2 | 3 | def main() { 4 | foo() 5 | } -------------------------------------------------------------------------------- /tests/bad/func/positional_after_labelled.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/positional_after_labelled.oc -------------------------------------------------------------------------------- /tests/bad/func/redef.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/redef.oc -------------------------------------------------------------------------------- /tests/bad/func/ret_from_void.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/ret_from_void.oc -------------------------------------------------------------------------------- /tests/bad/func/ret_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/ret_type.oc -------------------------------------------------------------------------------- /tests/bad/func/unexpected_labelled.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/unexpected_labelled.oc -------------------------------------------------------------------------------- /tests/bad/func/variadic_default.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/func/variadic_default.oc -------------------------------------------------------------------------------- /tests/bad/global_vars_infer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/global_vars_infer.oc -------------------------------------------------------------------------------- /tests/bad/if_not_bool.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/if_not_bool.oc -------------------------------------------------------------------------------- /tests/bad/incorrect_labelled_param.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/incorrect_labelled_param.oc -------------------------------------------------------------------------------- /tests/bad/inheritance/invalid_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/inheritance/invalid_type.oc -------------------------------------------------------------------------------- /tests/bad/inheritance/not_type.oc: -------------------------------------------------------------------------------- 1 | /// fail: Unexpected token in parse_type: IntLiteral 2 | 3 | struct Foo : 45 { 4 | 5 | } -------------------------------------------------------------------------------- /tests/bad/invalid_dot_shorthand.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/invalid_dot_shorthand.oc -------------------------------------------------------------------------------- /tests/bad/invalid_yield.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/invalid_yield.oc -------------------------------------------------------------------------------- /tests/bad/is_expr_standalone.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/is_expr_standalone.oc -------------------------------------------------------------------------------- /tests/bad/let_in_struct_field.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/let_in_struct_field.oc -------------------------------------------------------------------------------- /tests/bad/lexer1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/lexer1.oc -------------------------------------------------------------------------------- /tests/bad/logical_ops_not_bool.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/logical_ops_not_bool.oc -------------------------------------------------------------------------------- /tests/bad/map_literal_cannot_infer.oc: -------------------------------------------------------------------------------- 1 | /// fail: Can't infer type of Map literal 2 | 3 | def main() { 4 | let x = ${} 5 | } -------------------------------------------------------------------------------- /tests/bad/map_literal_shorthand_bad_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/map_literal_shorthand_bad_type.oc -------------------------------------------------------------------------------- /tests/bad/map_literal_shorthand_bad_value_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/map_literal_shorthand_bad_value_type.oc -------------------------------------------------------------------------------- /tests/bad/map_literal_shorthand_inconsistent_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/map_literal_shorthand_inconsistent_type.oc -------------------------------------------------------------------------------- /tests/bad/match/bool_not_exhaustive.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/match/bool_not_exhaustive.oc -------------------------------------------------------------------------------- /tests/bad/match/duplicate.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/match/duplicate.oc -------------------------------------------------------------------------------- /tests/bad/match/eq_overload_not_bool.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/match/eq_overload_not_bool.oc -------------------------------------------------------------------------------- /tests/bad/match/no_body.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/match/no_body.oc -------------------------------------------------------------------------------- /tests/bad/match/not_exhaustive.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/match/not_exhaustive.oc -------------------------------------------------------------------------------- /tests/bad/match/unsupported_types.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/match/unsupported_types.oc -------------------------------------------------------------------------------- /tests/bad/method_ampersand_without_this.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/method_ampersand_without_this.oc -------------------------------------------------------------------------------- /tests/bad/methods_invalid_struct.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/methods_invalid_struct.oc -------------------------------------------------------------------------------- /tests/bad/methods_redef.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/methods_redef.oc -------------------------------------------------------------------------------- /tests/bad/missing_curlies.oc: -------------------------------------------------------------------------------- 1 | /// fail: Expected '}' at end of block 2 | 3 | def main() { 4 | println("Hello, World!\n") -------------------------------------------------------------------------------- /tests/bad/missing_import.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/missing_import.oc -------------------------------------------------------------------------------- /tests/bad/missing_line_end.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/missing_line_end.oc -------------------------------------------------------------------------------- /tests/bad/no_return_if.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/no_return_if.oc -------------------------------------------------------------------------------- /tests/bad/no_return_regular.oc: -------------------------------------------------------------------------------- 1 | /// fail: Function does not always return 2 | 3 | def foo(): i32 { 4 | print("Hello, World!") 5 | } -------------------------------------------------------------------------------- /tests/bad/no_return_switch.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/no_return_switch.oc -------------------------------------------------------------------------------- /tests/bad/no_static_member.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/no_static_member.oc -------------------------------------------------------------------------------- /tests/bad/not_always_return.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/not_always_return.oc -------------------------------------------------------------------------------- /tests/bad/operator_overload_multiple.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/operator_overload_multiple.oc -------------------------------------------------------------------------------- /tests/bad/parser_sync.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/parser_sync.oc -------------------------------------------------------------------------------- /tests/bad/post_inc_expr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/post_inc_expr.oc -------------------------------------------------------------------------------- /tests/bad/print_first_not_string.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/print_first_not_string.oc -------------------------------------------------------------------------------- /tests/bad/question_not_ptr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/question_not_ptr.oc -------------------------------------------------------------------------------- /tests/bad/shadowing_var_decl.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/shadowing_var_decl.oc -------------------------------------------------------------------------------- /tests/bad/sizeof_bad_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/sizeof_bad_type.oc -------------------------------------------------------------------------------- /tests/bad/static_member_invalid_struct.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/static_member_invalid_struct.oc -------------------------------------------------------------------------------- /tests/bad/static_method_on_instance.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/static_method_on_instance.oc -------------------------------------------------------------------------------- /tests/bad/struct_method_redef_field.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/struct_method_redef_field.oc -------------------------------------------------------------------------------- /tests/bad/struct_redef.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/struct_redef.oc -------------------------------------------------------------------------------- /tests/bad/sv_format_not_simple.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/sv_format_not_simple.oc -------------------------------------------------------------------------------- /tests/bad/template_mismatch_arg_count.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/template_mismatch_arg_count.oc -------------------------------------------------------------------------------- /tests/bad/test_mode_fail.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/test_mode_fail.oc -------------------------------------------------------------------------------- /tests/bad/try_member_non_ptr_lhs.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/try_member_non_ptr_lhs.oc -------------------------------------------------------------------------------- /tests/bad/try_member_non_ptr_rhs.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/try_member_non_ptr_rhs.oc -------------------------------------------------------------------------------- /tests/bad/type_mismatch_struct.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/type_mismatch_struct.oc -------------------------------------------------------------------------------- /tests/bad/typed_literals.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/typed_literals.oc -------------------------------------------------------------------------------- /tests/bad/typedef_in_func.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/typedef_in_func.oc -------------------------------------------------------------------------------- /tests/bad/unhandled_expression_sym.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/unhandled_expression_sym.oc -------------------------------------------------------------------------------- /tests/bad/untyped_template.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/untyped_template.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/bad_var_init.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/bad_var_init.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/constructor_extra_argument.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/constructor_extra_argument.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/constructor_missing_args.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/constructor_missing_args.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/constructor_no_args.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/constructor_no_args.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/constructor_unnamed_label.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/constructor_unnamed_label.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/constructor_wrong_types.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/constructor_wrong_types.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/different_field_in_branch.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/different_field_in_branch.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/different_field_type_in_branch.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/different_field_type_in_branch.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/invalid_match_expr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/invalid_match_expr.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/invalid_shared_field_access.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/invalid_shared_field_access.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/missing_field_in_branch.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/missing_field_in_branch.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/no_compare_with_values.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/no_compare_with_values.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/non_exhaustive.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/non_exhaustive.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/shared_field_enum_compare.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/shared_field_enum_compare.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/shared_field_missing_constructor.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/shared_field_missing_constructor.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/shared_field_missing_match.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/shared_field_missing_match.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/shared_field_name_conflict_0.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/shared_field_name_conflict_0.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/shared_field_name_conflict_1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/shared_field_name_conflict_1.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/wrong_num_fields.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/wrong_num_fields.oc -------------------------------------------------------------------------------- /tests/bad/value_enums/wrong_type_in_field.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/value_enums/wrong_type_in_field.oc -------------------------------------------------------------------------------- /tests/bad/var1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/var1.oc -------------------------------------------------------------------------------- /tests/bad/var_cannot_infer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/var_cannot_infer.oc -------------------------------------------------------------------------------- /tests/bad/var_invalid_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/var_invalid_type.oc -------------------------------------------------------------------------------- /tests/bad/var_not_found.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/var_not_found.oc -------------------------------------------------------------------------------- /tests/bad/var_redef.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/var_redef.oc -------------------------------------------------------------------------------- /tests/bad/var_wrong_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/var_wrong_type.oc -------------------------------------------------------------------------------- /tests/bad/variadic_format_no_string.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/variadic_format_no_string.oc -------------------------------------------------------------------------------- /tests/bad/variadic_format_not_string_literal.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/variadic_format_not_string_literal.oc -------------------------------------------------------------------------------- /tests/bad/vec_literal_cannot_infer.oc: -------------------------------------------------------------------------------- 1 | /// fail: Can't infer type of Vector literal 2 | 3 | def main() { 4 | let x = $[] 5 | } -------------------------------------------------------------------------------- /tests/bad/vec_literal_shorthand_bad_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/vec_literal_shorthand_bad_type.oc -------------------------------------------------------------------------------- /tests/bad/vec_literal_shorthand_inconsistent_type.oc: -------------------------------------------------------------------------------- 1 | /// fail: Expected type u32, but got str 2 | 3 | def main() { 4 | let x = $[1, "hello"] 5 | } -------------------------------------------------------------------------------- /tests/bad/vec_type_shorthand_bad_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/vec_type_shorthand_bad_type.oc -------------------------------------------------------------------------------- /tests/bad/while_not_bool.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/while_not_bool.oc -------------------------------------------------------------------------------- /tests/bad/yield_multiple_times.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bad/yield_multiple_times.oc -------------------------------------------------------------------------------- /tests/bindings.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/bindings.oc -------------------------------------------------------------------------------- /tests/binop1.oc: -------------------------------------------------------------------------------- 1 | /// exit: 143 2 | 3 | def main() : u32 { 4 | return 11 * (10 + 3) 5 | } -------------------------------------------------------------------------------- /tests/binop2.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/binop2.oc -------------------------------------------------------------------------------- /tests/binop_order.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/binop_order.oc -------------------------------------------------------------------------------- /tests/binops.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/binops.oc -------------------------------------------------------------------------------- /tests/break.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/break.oc -------------------------------------------------------------------------------- /tests/break_inside_match_stmt.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/break_inside_match_stmt.oc -------------------------------------------------------------------------------- /tests/cast.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/cast.oc -------------------------------------------------------------------------------- /tests/chars.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/chars.oc -------------------------------------------------------------------------------- /tests/close_paren_bug.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/close_paren_bug.oc -------------------------------------------------------------------------------- /tests/closure.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/closure.oc -------------------------------------------------------------------------------- /tests/closure_infer_types.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/closure_infer_types.oc -------------------------------------------------------------------------------- /tests/closure_with_closed_func_ptr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/closure_with_closed_func_ptr.oc -------------------------------------------------------------------------------- /tests/compact_map.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/compact_map.oc -------------------------------------------------------------------------------- /tests/compact_map_bug.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/compact_map_bug.oc -------------------------------------------------------------------------------- /tests/compact_map_single_delete.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/compact_map_single_delete.oc -------------------------------------------------------------------------------- /tests/compiler_c_extensions.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/compiler_c_extensions.oc -------------------------------------------------------------------------------- /tests/compiler_op_new.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/compiler_op_new.oc -------------------------------------------------------------------------------- /tests/complex_imports/01/bar/baz/chris.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/01/bar/baz/chris.oc -------------------------------------------------------------------------------- /tests/complex_imports/01/foo.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/01/foo.oc -------------------------------------------------------------------------------- /tests/complex_imports/01/main.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/01/main.oc -------------------------------------------------------------------------------- /tests/complex_imports/02/bad_1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/02/bad_1.oc -------------------------------------------------------------------------------- /tests/complex_imports/02/foo/bar/baz.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/02/foo/bar/baz.oc -------------------------------------------------------------------------------- /tests/complex_imports/02/good_1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/02/good_1.oc -------------------------------------------------------------------------------- /tests/complex_imports/02/good_2.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/02/good_2.oc -------------------------------------------------------------------------------- /tests/complex_imports/02/good_3.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/02/good_3.oc -------------------------------------------------------------------------------- /tests/complex_imports/02/main.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/02/main.oc -------------------------------------------------------------------------------- /tests/complex_imports/03/foo/bar.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/03/foo/bar.oc -------------------------------------------------------------------------------- /tests/complex_imports/03/foo/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/03/foo/mod.oc -------------------------------------------------------------------------------- /tests/complex_imports/03/main.oc: -------------------------------------------------------------------------------- 1 | /// compile 2 | 3 | import .foo::bar::{ Bar } 4 | 5 | def main() => 0 -------------------------------------------------------------------------------- /tests/complex_imports/04/compiler.oc: -------------------------------------------------------------------------------- 1 | /// skip 2 | 3 | struct Compiler {} -------------------------------------------------------------------------------- /tests/complex_imports/04/main.oc: -------------------------------------------------------------------------------- 1 | /// compile 2 | 3 | import .vm::gc::{GC} 4 | 5 | def main() => 0 -------------------------------------------------------------------------------- /tests/complex_imports/04/vm/gc.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/04/vm/gc.oc -------------------------------------------------------------------------------- /tests/complex_imports/04/vm/mod.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/complex_imports/04/vm/mod.oc -------------------------------------------------------------------------------- /tests/constant_order.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/constant_order.oc -------------------------------------------------------------------------------- /tests/constants.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/constants.oc -------------------------------------------------------------------------------- /tests/constructors.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/constructors.oc -------------------------------------------------------------------------------- /tests/continue.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/continue.oc -------------------------------------------------------------------------------- /tests/custom_varargs_functions.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/custom_varargs_functions.oc -------------------------------------------------------------------------------- /tests/default_args.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/default_args.oc -------------------------------------------------------------------------------- /tests/defer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/defer.oc -------------------------------------------------------------------------------- /tests/defer_loop.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/defer_loop.oc -------------------------------------------------------------------------------- /tests/dset.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/dset.oc -------------------------------------------------------------------------------- /tests/emoji_var.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/emoji_var.oc -------------------------------------------------------------------------------- /tests/empty_ret.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/empty_ret.oc -------------------------------------------------------------------------------- /tests/enum.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/enum.oc -------------------------------------------------------------------------------- /tests/enum_auto_dbg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/enum_auto_dbg.oc -------------------------------------------------------------------------------- /tests/enum_flags.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/enum_flags.oc -------------------------------------------------------------------------------- /tests/enum_value_attr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/enum_value_attr.oc -------------------------------------------------------------------------------- /tests/enum_value_dbg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/enum_value_dbg.oc -------------------------------------------------------------------------------- /tests/eprint_functions.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/eprint_functions.oc -------------------------------------------------------------------------------- /tests/error_prop.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/error_prop.oc -------------------------------------------------------------------------------- /tests/error_unwrap_not_printable.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/error_unwrap_not_printable.oc -------------------------------------------------------------------------------- /tests/error_unwrap_option.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/error_unwrap_option.oc -------------------------------------------------------------------------------- /tests/error_unwrap_result.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/error_unwrap_result.oc -------------------------------------------------------------------------------- /tests/escaped_backslash_fstr.oc: -------------------------------------------------------------------------------- 1 | /// compile 2 | 3 | def main() { 4 | println(`\\{5}`) 5 | } -------------------------------------------------------------------------------- /tests/export_imported.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/export_imported.oc -------------------------------------------------------------------------------- /tests/expr-statements.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/expr-statements.oc -------------------------------------------------------------------------------- /tests/expr_block.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/expr_block.oc -------------------------------------------------------------------------------- /tests/expr_if.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/expr_if.oc -------------------------------------------------------------------------------- /tests/extern.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/extern.oc -------------------------------------------------------------------------------- /tests/file_io.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/file_io.oc -------------------------------------------------------------------------------- /tests/flatten_attr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/flatten_attr.oc -------------------------------------------------------------------------------- /tests/float.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/float.oc -------------------------------------------------------------------------------- /tests/for.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/for.oc -------------------------------------------------------------------------------- /tests/for_missing_parts.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/for_missing_parts.oc -------------------------------------------------------------------------------- /tests/format_str.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/format_str.oc -------------------------------------------------------------------------------- /tests/format_str_specs.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/format_str_specs.oc -------------------------------------------------------------------------------- /tests/formatting_attribute.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/formatting_attribute.oc -------------------------------------------------------------------------------- /tests/func_pointers.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/func_pointers.oc -------------------------------------------------------------------------------- /tests/funccall.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/funccall.oc -------------------------------------------------------------------------------- /tests/funcorder.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/funcorder.oc -------------------------------------------------------------------------------- /tests/global_var_dead_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/global_var_dead_type.oc -------------------------------------------------------------------------------- /tests/global_vars.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/global_vars.oc -------------------------------------------------------------------------------- /tests/global_vars_order.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/global_vars_order.oc -------------------------------------------------------------------------------- /tests/hashmap_iter.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/hashmap_iter.oc -------------------------------------------------------------------------------- /tests/heap.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/heap.oc -------------------------------------------------------------------------------- /tests/higher_order.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/higher_order.oc -------------------------------------------------------------------------------- /tests/if.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/if.oc -------------------------------------------------------------------------------- /tests/if_optional_then.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/if_optional_then.oc -------------------------------------------------------------------------------- /tests/import_mod_as_this.oc: -------------------------------------------------------------------------------- 1 | /// compile 2 | 3 | import std::image::{ this, ppm, qoi } 4 | 5 | def main() {} -------------------------------------------------------------------------------- /tests/import_typedef.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/import_typedef.oc -------------------------------------------------------------------------------- /tests/in_operator.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/in_operator.oc -------------------------------------------------------------------------------- /tests/index_operator.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/index_operator.oc -------------------------------------------------------------------------------- /tests/infer_basics.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/infer_basics.oc -------------------------------------------------------------------------------- /tests/infer_enums.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/infer_enums.oc -------------------------------------------------------------------------------- /tests/infer_enums_new.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/infer_enums_new.oc -------------------------------------------------------------------------------- /tests/infer_negate_int_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/infer_negate_int_type.oc -------------------------------------------------------------------------------- /tests/inference.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/inference.oc -------------------------------------------------------------------------------- /tests/inheritance.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/inheritance.oc -------------------------------------------------------------------------------- /tests/instance_method_as_static.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/instance_method_as_static.oc -------------------------------------------------------------------------------- /tests/int_lit_underscores.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/int_lit_underscores.oc -------------------------------------------------------------------------------- /tests/int_types.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/int_types.oc -------------------------------------------------------------------------------- /tests/is_expr_loop_break.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/is_expr_loop_break.oc -------------------------------------------------------------------------------- /tests/json_test.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/json_test.oc -------------------------------------------------------------------------------- /tests/labelled_params.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/labelled_params.oc -------------------------------------------------------------------------------- /tests/libs.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/libs.oc -------------------------------------------------------------------------------- /tests/linkedlist.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/linkedlist.oc -------------------------------------------------------------------------------- /tests/logical.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/logical.oc -------------------------------------------------------------------------------- /tests/lsp/completions/enum_match_case.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/enum_match_case.oc -------------------------------------------------------------------------------- /tests/lsp/completions/enum_ns_lookup.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/enum_ns_lookup.oc -------------------------------------------------------------------------------- /tests/lsp/completions/import_part_multiple.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/import_part_multiple.oc -------------------------------------------------------------------------------- /tests/lsp/completions/import_part_single.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/import_part_single.oc -------------------------------------------------------------------------------- /tests/lsp/completions/match_expr_no_body.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/match_expr_no_body.oc -------------------------------------------------------------------------------- /tests/lsp/completions/ns_typedef.oc: -------------------------------------------------------------------------------- 1 | /// lsp: -c 4 18 2 | /// {"completions":[{"label":"Vec2i"}]} 3 | 4 | import std::vec:: -------------------------------------------------------------------------------- /tests/lsp/completions/outer_scope.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/outer_scope.oc -------------------------------------------------------------------------------- /tests/lsp/completions/struct_static_method.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/struct_static_method.oc -------------------------------------------------------------------------------- /tests/lsp/completions/struct_var_member.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/struct_var_member.oc -------------------------------------------------------------------------------- /tests/lsp/completions/var_const.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/var_const.oc -------------------------------------------------------------------------------- /tests/lsp/completions/var_enum_with_hint.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/var_enum_with_hint.oc -------------------------------------------------------------------------------- /tests/lsp/completions/var_name.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/completions/var_name.oc -------------------------------------------------------------------------------- /tests/lsp/hover/closure_body_captured.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/closure_body_captured.oc -------------------------------------------------------------------------------- /tests/lsp/hover/closure_call.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/closure_call.oc -------------------------------------------------------------------------------- /tests/lsp/hover/closure_params.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/closure_params.oc -------------------------------------------------------------------------------- /tests/lsp/hover/closure_type.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/closure_type.oc -------------------------------------------------------------------------------- /tests/lsp/hover/function_definition.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/function_definition.oc -------------------------------------------------------------------------------- /tests/lsp/hover/global_const.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/global_const.oc -------------------------------------------------------------------------------- /tests/lsp/hover/global_var.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/global_var.oc -------------------------------------------------------------------------------- /tests/lsp/hover/import_part_multiple.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/import_part_multiple.oc -------------------------------------------------------------------------------- /tests/lsp/hover/import_part_single.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/import_part_single.oc -------------------------------------------------------------------------------- /tests/lsp/hover/string_literal.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/string_literal.oc -------------------------------------------------------------------------------- /tests/lsp/hover/value_enum_match_field.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/value_enum_match_field.oc -------------------------------------------------------------------------------- /tests/lsp/hover/value_enum_match_variant.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/value_enum_match_variant.oc -------------------------------------------------------------------------------- /tests/lsp/hover/value_enum_name.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/value_enum_name.oc -------------------------------------------------------------------------------- /tests/lsp/hover/value_enum_variant_constructor.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/value_enum_variant_constructor.oc -------------------------------------------------------------------------------- /tests/lsp/hover/value_enum_variant_field.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/value_enum_variant_field.oc -------------------------------------------------------------------------------- /tests/lsp/hover/value_enum_variant_name.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/value_enum_variant_name.oc -------------------------------------------------------------------------------- /tests/lsp/hover/var_decl_infer.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/var_decl_infer.oc -------------------------------------------------------------------------------- /tests/lsp/hover/var_usage.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/var_usage.oc -------------------------------------------------------------------------------- /tests/lsp/hover/vector_literal_shorthand.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/vector_literal_shorthand.oc -------------------------------------------------------------------------------- /tests/lsp/hover/vector_type_shorthand.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/vector_type_shorthand.oc -------------------------------------------------------------------------------- /tests/lsp/hover/vector_type_shorthand_var.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/hover/vector_type_shorthand_var.oc -------------------------------------------------------------------------------- /tests/lsp/sighelp/func_first_arg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/sighelp/func_first_arg.oc -------------------------------------------------------------------------------- /tests/lsp/sighelp/func_last_arg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/sighelp/func_last_arg.oc -------------------------------------------------------------------------------- /tests/lsp/sighelp/func_no_active_arg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/sighelp/func_no_active_arg.oc -------------------------------------------------------------------------------- /tests/lsp/sighelp/struct_first_arg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/sighelp/struct_first_arg.oc -------------------------------------------------------------------------------- /tests/lsp/sighelp/struct_last_arg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/sighelp/struct_last_arg.oc -------------------------------------------------------------------------------- /tests/lsp/sighelp/struct_no_active__arg.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/lsp/sighelp/struct_no_active__arg.oc -------------------------------------------------------------------------------- /tests/map_shorthand.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/map_shorthand.oc -------------------------------------------------------------------------------- /tests/match.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/match.oc -------------------------------------------------------------------------------- /tests/match_bool.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/match_bool.oc -------------------------------------------------------------------------------- /tests/match_char.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/match_char.oc -------------------------------------------------------------------------------- /tests/match_expr_exit.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/match_expr_exit.oc -------------------------------------------------------------------------------- /tests/match_no_enum_name.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/match_no_enum_name.oc -------------------------------------------------------------------------------- /tests/match_string.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/match_string.oc -------------------------------------------------------------------------------- /tests/metatemplates.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/metatemplates.oc -------------------------------------------------------------------------------- /tests/method_pass_this_obj_ptr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/method_pass_this_obj_ptr.oc -------------------------------------------------------------------------------- /tests/method_template_struct.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/method_template_struct.oc -------------------------------------------------------------------------------- /tests/methods.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/methods.oc -------------------------------------------------------------------------------- /tests/methods_on_primitive.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/methods_on_primitive.oc -------------------------------------------------------------------------------- /tests/multi_if_is_expr_0.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/multi_if_is_expr_0.oc -------------------------------------------------------------------------------- /tests/multi_if_is_expr_1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/multi_if_is_expr_1.oc -------------------------------------------------------------------------------- /tests/multi_if_syntax.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/multi_if_syntax.oc -------------------------------------------------------------------------------- /tests/multi_line_string.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/multi_line_string.oc -------------------------------------------------------------------------------- /tests/multiline_string.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/multiline_string.oc -------------------------------------------------------------------------------- /tests/multiple_comparison.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/multiple_comparison.oc -------------------------------------------------------------------------------- /tests/namespace_import_bug.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/namespace_import_bug.oc -------------------------------------------------------------------------------- /tests/namespaces/structs.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/namespaces/structs.oc -------------------------------------------------------------------------------- /tests/nullptr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/nullptr.oc -------------------------------------------------------------------------------- /tests/operator_overloading.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/operator_overloading.oc -------------------------------------------------------------------------------- /tests/operator_overloading_template.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/operator_overloading_template.oc -------------------------------------------------------------------------------- /tests/pointer_arithmetic.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/pointer_arithmetic.oc -------------------------------------------------------------------------------- /tests/pointer_to_array.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/pointer_to_array.oc -------------------------------------------------------------------------------- /tests/pointers.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/pointers.oc -------------------------------------------------------------------------------- /tests/pre_post_inc_dec.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/pre_post_inc_dec.oc -------------------------------------------------------------------------------- /tests/print1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/print1.oc -------------------------------------------------------------------------------- /tests/proc.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/proc.oc -------------------------------------------------------------------------------- /tests/process_get_output.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/process_get_output.oc -------------------------------------------------------------------------------- /tests/question.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/question.oc -------------------------------------------------------------------------------- /tests/raw_string_literals.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/raw_string_literals.oc -------------------------------------------------------------------------------- /tests/relative_imports/a.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/relative_imports/a.oc -------------------------------------------------------------------------------- /tests/relative_imports/b/b.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/relative_imports/b/b.oc -------------------------------------------------------------------------------- /tests/relative_imports/b/c/c.oc: -------------------------------------------------------------------------------- 1 | /// skip 2 | 3 | def c() { 4 | print("c ") 5 | } -------------------------------------------------------------------------------- /tests/relative_imports/main.oc: -------------------------------------------------------------------------------- 1 | /// out: "a b c" 2 | 3 | import @a::a 4 | 5 | def main() { 6 | a() 7 | } -------------------------------------------------------------------------------- /tests/return_analysis.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/return_analysis.oc -------------------------------------------------------------------------------- /tests/return_analysis_assert_false.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/return_analysis_assert_false.oc -------------------------------------------------------------------------------- /tests/return_analysis_exit.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/return_analysis_exit.oc -------------------------------------------------------------------------------- /tests/same_line_return.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/same_line_return.oc -------------------------------------------------------------------------------- /tests/same_method_name.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/same_method_name.oc -------------------------------------------------------------------------------- /tests/set.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/set.oc -------------------------------------------------------------------------------- /tests/set_operator_overloads.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/set_operator_overloads.oc -------------------------------------------------------------------------------- /tests/sha1.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/sha1.oc -------------------------------------------------------------------------------- /tests/sha256.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/sha256.oc -------------------------------------------------------------------------------- /tests/shift_equals_operator.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/shift_equals_operator.oc -------------------------------------------------------------------------------- /tests/sizeof_cast.oc: -------------------------------------------------------------------------------- 1 | /// compile 2 | 3 | 4 | def main() { 5 | sizeof(u32) as i32 6 | } -------------------------------------------------------------------------------- /tests/socket.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/socket.oc -------------------------------------------------------------------------------- /tests/sorting.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/sorting.oc -------------------------------------------------------------------------------- /tests/str_eq_operator.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/str_eq_operator.oc -------------------------------------------------------------------------------- /tests/strings.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/strings.oc -------------------------------------------------------------------------------- /tests/struct_constructor_default.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/struct_constructor_default.oc -------------------------------------------------------------------------------- /tests/struct_init_array_literal.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/struct_init_array_literal.oc -------------------------------------------------------------------------------- /tests/struct_multi_field_syntax.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/struct_multi_field_syntax.oc -------------------------------------------------------------------------------- /tests/structorder.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/structorder.oc -------------------------------------------------------------------------------- /tests/structs.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/structs.oc -------------------------------------------------------------------------------- /tests/structs_recursive.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/structs_recursive.oc -------------------------------------------------------------------------------- /tests/sv_buf_format.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/sv_buf_format.oc -------------------------------------------------------------------------------- /tests/template_constructor.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/template_constructor.oc -------------------------------------------------------------------------------- /tests/template_enum.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/template_enum.oc -------------------------------------------------------------------------------- /tests/template_function.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/template_function.oc -------------------------------------------------------------------------------- /tests/template_static_methods.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/template_static_methods.oc -------------------------------------------------------------------------------- /tests/template_structs.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/template_structs.oc -------------------------------------------------------------------------------- /tests/template_with_ptr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/template_with_ptr.oc -------------------------------------------------------------------------------- /tests/test_mode_pass.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/test_mode_pass.oc -------------------------------------------------------------------------------- /tests/thread.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/thread.oc -------------------------------------------------------------------------------- /tests/try_member.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/try_member.oc -------------------------------------------------------------------------------- /tests/typecheck_basic.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/typecheck_basic.oc -------------------------------------------------------------------------------- /tests/typed_int_lits.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/typed_int_lits.oc -------------------------------------------------------------------------------- /tests/typedef.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/typedef.oc -------------------------------------------------------------------------------- /tests/typedef_using_imported.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/typedef_using_imported.oc -------------------------------------------------------------------------------- /tests/union.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/union.oc -------------------------------------------------------------------------------- /tests/union_constructor.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/union_constructor.oc -------------------------------------------------------------------------------- /tests/value_enum.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/value_enum.oc -------------------------------------------------------------------------------- /tests/value_enum_2.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/value_enum_2.oc -------------------------------------------------------------------------------- /tests/value_enum_eq_variant_name.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/value_enum_eq_variant_name.oc -------------------------------------------------------------------------------- /tests/value_enum_is_expr.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/value_enum_is_expr.oc -------------------------------------------------------------------------------- /tests/value_enum_match_alias.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/value_enum_match_alias.oc -------------------------------------------------------------------------------- /tests/value_enum_match_single_alias.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/value_enum_match_single_alias.oc -------------------------------------------------------------------------------- /tests/value_enum_shared_fields.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/value_enum_shared_fields.oc -------------------------------------------------------------------------------- /tests/value_enum_simple_compare.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/value_enum_simple_compare.oc -------------------------------------------------------------------------------- /tests/value_operator_overloads.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/value_operator_overloads.oc -------------------------------------------------------------------------------- /tests/variadic.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/variadic.oc -------------------------------------------------------------------------------- /tests/vars.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/vars.oc -------------------------------------------------------------------------------- /tests/vector.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/vector.oc -------------------------------------------------------------------------------- /tests/vector_shorthand.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/vector_shorthand.oc -------------------------------------------------------------------------------- /tests/while.oc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocen-lang/ocen/HEAD/tests/while.oc --------------------------------------------------------------------------------