mirror of
https://github.com/Nexoniarz/Finch.git
synced 2026-11-04 00:54:25 +00:00
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
This commit is contained in:
parent
d0666cf788
commit
f2d6480749
21 changed files with 688 additions and 17 deletions
11
tests/new/lang_additions.out
Normal file
11
tests/new/lang_additions.out
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
640 320 9.8 Game One -640 3
|
||||
ok 30 30 30
|
||||
b.txt
|
||||
big 1.5 14
|
||||
3 2.5 4 2.5 10 0 2
|
||||
5 200
|
||||
#version 330
|
||||
void main() {
|
||||
gl_Position = vec4(0.0);
|
||||
}
|
||||
one "quoted" line
|
||||
Loading…
Reference in a new issue