changed the way that functions are defined

This commit is contained in:
IgorCielniak
2026-01-08 15:28:10 +01:00
parent d4dc6ceef5
commit b9098d9893
33 changed files with 232 additions and 198 deletions

View File

@@ -1,12 +1,12 @@
import ../stdlib/stdlib.sl
import ../stdlib/io.sl
: dup
word dup
6
;
end
compile-only
: emit-overridden
word emit-overridden
"dup" use-l2-ct
42
dup
@@ -17,12 +17,12 @@ compile-only
swap
list-append
inject-tokens
;
end
immediate
compile-only
: main
word main
emit-overridden
puti cr
0
;
end