summaryrefslogtreecommitdiff
path: root/tnslc/compile/codegen.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2026-04-09 02:26:07 -0400
committerKai Gunger <kgunger12@gmail.com>2026-04-09 02:26:07 -0400
commite2d0072536bd01ea362e903238f487ba39efa411 (patch)
treeb2091a8680d369dd782b209a59e7325bb0d5cf82 /tnslc/compile/codegen.tnsl
parentad3c46f34c64b41dd59d3e2401c55d44f8531e55 (diff)
[tnslc] add initial var mov tests
Diffstat (limited to 'tnslc/compile/codegen.tnsl')
-rw-r--r--tnslc/compile/codegen.tnsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tnslc/compile/codegen.tnsl b/tnslc/compile/codegen.tnsl
index 05d0fb7..636f16b 100644
--- a/tnslc/compile/codegen.tnsl
+++ b/tnslc/compile/codegen.tnsl
@@ -41,6 +41,7 @@
ast.end()
;/
+
/; generate (~utils.File fin, fout)
# Parse files into AST
parse.Node ast = parse.generate_ast(fin)
@@ -60,6 +61,9 @@
# Compile code
mod.compile(~buffer)
+ # Tests
+ # var_tests(~buffer)
+
# Write assembly to output file
fout.create()
buffer.write_to(fout)