summaryrefslogtreecommitdiff
path: root/tnslc/tnslc.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-12-17 10:56:18 -0500
committerKyle Gunger <kgunger12@gmail.com>2022-12-17 10:56:18 -0500
commit2ec32dac56b544bc4851a3efddf75ee5fd9314ed (patch)
treed145c241d7c114b6aaa83d7759d9647b21997b87 /tnslc/tnslc.tnsl
parentc5219bb99f5ae0cca484457dfb89d00b0c68011e (diff)
Change charp to uint8
+ Change charp to uint8 + Start value abstraction
Diffstat (limited to 'tnslc/tnslc.tnsl')
-rw-r--r--tnslc/tnslc.tnsl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tnslc/tnslc.tnsl b/tnslc/tnslc.tnsl
index 8c2e18d..7ca1dfb 100644
--- a/tnslc/tnslc.tnsl
+++ b/tnslc/tnslc.tnsl
@@ -21,15 +21,16 @@
:include "parse/parse.tnsl"
:include "compile/compile.tnsl"
:include "compile/isa_x86.tnsl"
+ :include "compile/value.tnsl"
;/
-/; main ({}{}charp args) [int]
+/; main ({}{}uint8 args) [int]
/; if (len args < 1)
;tnsl.io.println("Usage: tnslc [file in]")
;return 1
;/
- ;{}charp file = args{0}
+ ;{}uint8 file = args{0}
# ;tnslc.Node tree_node = tnslc.ast.make_tree(psrc, args{0})