Finch/tests/fail
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 0591cd20f3 Finch 1.0.0
A small, fast programming language on LLVM with C-like syntax.

- Lexer, recursive-descent parser, single-pass type checker + LLVM IR codegen, O2 pipeline
- Types: int/float/bool/char/str, sized i8..u64/f32/f64, pointers ptr[T] with addr()/.value/null
- Functions (fn ... -> T), if/else, while, for..in, break/continue, Go-style operator precedence
- Implicit conversions only when lossless; literals adapt to their target type
- Runtime checks for division by zero, MIN/-1 and null .value
- C interop: import "header.h" via libclang, link "lib" with pkg-config, link-error advice
- Human-readable errors with source excerpts
- Test suite (34 tests), examples, docs for beginners/technicians/engineers in English and Polish

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 18:21:06 +02:00
..
bad_link_name.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
bool_bitand.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
condition_not_bool.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
div_zero_const.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
div_zero_runtime.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
float_to_int.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
forgot_import.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
lib_hint.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
lib_hint.h Finch 1.0.0 2026-10-08 18:21:06 +02:00
literal_too_big.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
loop_var_readonly.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
missing_header.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
missing_lib.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
missing_return.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
mixed_signs.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
no_main.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
non_ascii_name.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
null_value.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
old_function_syntax.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
redeclare.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
two_statements.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
type_mismatch.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
unclosed_brace.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
undefined_var.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
unreachable.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
untyped_null.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00
untyped_ptr.fn Finch 1.0.0 2026-10-08 18:21:06 +02:00