Finch/tests/fail
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Claude 68a9493572
Vector types (SIMD): f32x8, i8x32, f64x4 and the rest; --cpu native
- fNxM / iNxM / uNxM up to 512 bits, as LLVM vectors (<8 x float>): LLVM picks SSE, AVX2,
  AVX-512 or NEON for them
- f32x8(x) in every lane, f32x8(a, ..., h), f32x8(list, i) loads, f32x8(i32x8 v) converts
- + - * / and the bit operators lane by lane, with a plain number on either side counting for every lane;
  v[i], v[i] = x, v.len, == / != (every lane), print and str
- methods: sum min max dot abs sqrt floor ceil round fma store; min/max/abs/clamp lane by lane
- wide vectors (and structs holding them) are loaded and stored with align 16, what malloc and the stack give
- --cpu <name> (and cpu = "..." in finch.toml): native, x86-64-v3, apple-m1, ...
- debug info shows vectors; the language server completes their methods; Kate and VS Code highlight them
- f32 x = -1.5 works: a minus in front of a float written in the code keeps it such a number

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Psc42moPLwP43Cmb9oZqSR
2026-11-01 13:50:35 +00:00
..
array_compare.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
bad_int.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
bad_link_name.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
bool_bitand.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
condition_not_bool.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
defer_return.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
div_zero_const.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
div_zero_runtime.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
each_readonly.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
empty_array.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
error_not_fallible.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
error_outside_return.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
float_to_int.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
forgot_import.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
free_value.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
index_range.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
lib_hint.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
lib_hint.h Finch 1.0.0 2026-10-08 18:21:06 +02:00
literal_too_big.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
loop_var_readonly.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
map_add_while_looping.fch Fix the two known limits: adding map keys while looping over the map is a runtime error; temporaries held by an expression are freed when try / or-blocks leave early. err usable after or, inner err shadows outer. 2026-10-25 19:13:46 +01:00
map_empty_literal.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
map_float_key.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
map_missing_key.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
method_field_clash.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
method_loop_readonly.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
method_missing.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
missing_header.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
missing_lib.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
missing_return.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
mixed_signs.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
module_missing.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
module_not_imported.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
no_main.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
non_ascii_name.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
null_value.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
old_function_syntax.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
or_block_value.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
or_cannot_fail.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
pop_empty.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
push_type.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
redeclare.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
str_null.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
str_plus_int.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
struct_count.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
struct_no_field.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
struct_self.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
try_outside_fallible.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
two_statements.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
type_mismatch.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
unclosed_brace.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
undefined_var.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
unhandled_error.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
unreachable.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
untyped_null.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
untyped_ptr.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
vec_intdiv.fch Vector types (SIMD): f32x8, i8x32, f64x4 and the rest; --cpu native 2026-11-01 13:50:35 +00:00
vec_lane_index.fch Vector types (SIMD): f32x8, i8x32, f64x4 and the rest; --cpu native 2026-11-01 13:50:35 +00:00
vec_lanes.fch Vector types (SIMD): f32x8, i8x32, f64x4 and the rest; --cpu native 2026-11-01 13:50:35 +00:00
vec_less.fch Vector types (SIMD): f32x8, i8x32, f64x4 and the rest; --cpu native 2026-11-01 13:50:35 +00:00
vec_load_end.fch Vector types (SIMD): f32x8, i8x32, f64x4 and the rest; --cpu native 2026-11-01 13:50:35 +00:00
vec_mix.fch Vector types (SIMD): f32x8, i8x32, f64x4 and the rest; --cpu native 2026-11-01 13:50:35 +00:00
vec_type.fch Vector types (SIMD): f32x8, i8x32, f64x4 and the rest; --cpu native 2026-11-01 13:50:35 +00:00