From d3dfc56318829e212a87da6874011d8304be31b0 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sun, 6 Aug 2023 03:00:18 -0400 Subject: Frame out port of compiler --- tnslc/tnslc_wrapped.tnsl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tnslc/tnslc_wrapped.tnsl') diff --git a/tnslc/tnslc_wrapped.tnsl b/tnslc/tnslc_wrapped.tnsl index d58c045..cf5b59b 100644 --- a/tnslc/tnslc_wrapped.tnsl +++ b/tnslc/tnslc_wrapped.tnsl @@ -3,6 +3,7 @@ :include "vector.tnsl" :include "utils.tnsl" :include "tokenizer.tnsl" +# :include "compiler.tnsl" /; main (int argc, ~~uint8 argv) [int] asm "mov r8, rcx" @@ -11,7 +12,10 @@ ~void open_handle = _open_file(argv{1}) ~void write_handle = _create_file(argv{2}) log_one_nl('a') - tokenize_file(open_handle, write_handle) + + Vector tokens = tokenize_file(open_handle, write_handle) + # TODO: do compilation + log_one_nl('a') _close_file(open_handle) _close_file(write_handle) -- cgit v1.2.3