Finch/tests/new
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz f2d6480749 const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module
- const NAME = value (numbers, text, other constants; typed: const f32 G = 9.8), also module.NAME
- x := if c { a } else { b }
- """ ... """: the closing quotes' indentation goes from every line
- min, max, abs, clamp for any numbers, unless your own function has the name
- import ui/button (a module in a folder), import path as p
- fs: read_bytes, write_bytes, exists, is_dir, mkdir (with parents), list, remove_dir, data_dir(app)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016GzNP6r8dg6WDxUVZy8wjL
2026-10-29 09:37:41 +01:00
..
fail const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +01:00
ui const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +01:00
c_unions_macros.fch C import: unions (SDL_Event) and their fields; #defines that are expressions, casts or text; typedef'd structs no function mentions; FLAG_A | FLAG_B fits a u64 2026-10-29 09:23:29 +01:00
c_unions_macros.out C import: unions (SDL_Event) and their fields; #defines that are expressions, casts or text; typedef'd structs no function mentions; FLAG_A | FLAG_B fits a u64 2026-10-29 09:23:29 +01:00
cunion.c C import: unions (SDL_Event) and their fields; #defines that are expressions, casts or text; typedef'd structs no function mentions; FLAG_A | FLAG_B fits a u64 2026-10-29 09:23:29 +01:00
cunion.h C import: unions (SDL_Event) and their fields; #defines that are expressions, casts or text; typedef'd structs no function mentions; FLAG_A | FLAG_B fits a u64 2026-10-29 09:23:29 +01:00
defaults_numbers.fch Struct defaults apply inside structs; exit() ends an or-block; 1e9 literals; x * 2.0 stays f32; floats print as the shortest exact text; str(x, digits) 2026-10-29 09:14:58 +01:00
defaults_numbers.out Struct defaults apply inside structs; exit() ends an or-block; 1e9 literals; x * 2.0 stays f32; floats print as the shortest exact text; str(x, digits) 2026-10-29 09:14:58 +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
exit_or.fch Struct defaults apply inside structs; exit() ends an or-block; 1e9 literals; x * 2.0 stays f32; floats print as the shortest exact text; str(x, digits) 2026-10-29 09:14:58 +01:00
exit_or.out Struct defaults apply inside structs; exit() ends an or-block; 1e9 literals; x * 2.0 stays f32; floats print as the shortest exact text; str(x, digits) 2026-10-29 09:14:58 +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
lang_additions.fch const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +01:00
lang_additions.out const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +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_fs.fch const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +01:00
std_fs.out const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +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