diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2026-03-09 20:44:49 +0100 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2026-03-09 20:44:49 +0100 |
| commit | 2f427f1d9f68cc1f35c9859e24a4a002705e39fd (patch) | |
| tree | f128a803768b7815d72c9a20e5ae498edb69281a /test.xy | |
| parent | 41d111fa5f5cf39173778602364639d31886d899 (diff) | |
Fix file extension
Diffstat (limited to 'test.xy')
| -rw-r--r-- | test.xy | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/test.xy b/test.xy deleted file mode 100644 index a908c0e..0000000 --- a/test.xy +++ /dev/null @@ -1,36 +0,0 @@ -def puts = $foreign("puts", func(s ^u8)); - -/* -def foo = func() { - let my_string = - \ This is my line - \ this is a second line - \ etc. - ; - puts(my_string); -} -*/ - -/* def add = func(dst *vec($N), v, u vec($N)) - * $poke(operator.addeq) - * { - * loop (i: 0...N) - * dst[i] = v[i] + u[i]; - * }; */ - -def main′ = func() { - puts("Hello, sailor!"); - some_func(#b10.1100'1001e+11); - x, y = 69, 420; - slices_sort(my_slice, func(x, y int) int { - return x - y; - }); -}; - -def r, g, b u8 = 1, 2, 3; - -def some_func = func(n u32) u32 { return n * 2; }; - -/* def MY_FLOAT = union { f f64; n u64; } { n = 0x482DEF }.f */ - -def main = func() { main′(); }; |