summaryrefslogtreecommitdiff
path: root/tnslc/tnslc.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-12-12 00:52:54 -0500
committerKyle Gunger <kgunger12@gmail.com>2022-12-12 00:52:54 -0500
commit069eb0fc2edf1f40fd1fff6584e430c111471859 (patch)
treedc038d5659105b7cc29622e703e86b6fb1729599 /tnslc/tnslc.tnsl
parent65d1112cffbe3a761c96b63c74ce0d704f64fb2d (diff)
Evaluation of numeric literals
Diffstat (limited to 'tnslc/tnslc.tnsl')
-rw-r--r--tnslc/tnslc.tnsl13
1 files changed, 0 insertions, 13 deletions
diff --git a/tnslc/tnslc.tnsl b/tnslc/tnslc.tnsl
index 129ef44..8c2e18d 100644
--- a/tnslc/tnslc.tnsl
+++ b/tnslc/tnslc.tnsl
@@ -23,26 +23,13 @@
:include "compile/isa_x86.tnsl"
;/
-
/; main ({}{}charp args) [int]
-
/; if (len args < 1)
;tnsl.io.println("Usage: tnslc [file in]")
;return 1
;/
;{}charp file = args{0}
-
- ;tnsl.io.File src = tnsl.io.readFile(file)
-
- ;~{}tnslc.Token psrc = tnslc.parse.tokenize(src)
-
- ;src.close()
-
- ;tnsl.io.print(len psrc`)
- ;tnsl.io.println(" tokens parsed.")
-
- ;tnslc.print_tokens(psrc)
# ;tnslc.Node tree_node = tnslc.ast.make_tree(psrc, args{0})