Finch/tests/new
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 3e45b62812 Enums whose variants hold values
enum Shape { Circle(float), Rect(float, float), Point }; Shape.Circle(2.0) makes one, match names the values
(Circle(r), _ to ignore), exhaustive like plain enums, printing shows Rect(2, 3.5). Underneath it is a struct (tag +
every variant's values), so copying, freeing, methods and valgrind-cleanliness come with it. Also: stray note files removed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015f73FesGZGYPkmDvUcj6QX
2026-10-26 00:18:53 +01:00
..
fail Enums whose variants hold values 2026-10-26 00:18:53 +01:00
enums.fch enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
enums.out enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
generics.fch generics (in the compiler written in Finch) 2026-10-25 20:53:13 +01:00
generics.out generics (in the compiler written in Finch) 2026-10-25 20:53:13 +01:00
payload_enums.fch Enums whose variants hold values 2026-10-26 00:18:53 +01:00
payload_enums.out Enums whose variants hold values 2026-10-26 00:18:53 +01:00
std_json.fch a standard library in Finch: path, time, proc, json 2026-10-25 20:58:26 +01:00
std_json.out a standard library in Finch: path, time, proc, json 2026-10-25 20:58:26 +01:00
std_path.fch a standard library in Finch: path, time, proc, json 2026-10-25 20:58:26 +01:00
std_path.out a standard library in Finch: path, time, proc, json 2026-10-25 20:58:26 +01:00
std_time_proc.fch --target: windows, linux, arm64, macos or a triple, in the compiler written in Finch 2026-10-25 21:33:19 +01:00
std_time_proc.out --target: windows, linux, arm64, macos or a triple, in the compiler written in Finch 2026-10-25 21:33:19 +01:00