From 2ec32dac56b544bc4851a3efddf75ee5fd9314ed Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sat, 17 Dec 2022 10:56:18 -0500 Subject: Change charp to uint8 + Change charp to uint8 + Start value abstraction --- tnslc/tnslc.tnsl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tnslc/tnslc.tnsl') 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}) -- cgit v1.2.3