diff options
| author | Kyle Gunger <kgunger12@gmail.com> | 2023-08-06 03:00:18 -0400 | 
|---|---|---|
| committer | Kyle Gunger <kgunger12@gmail.com> | 2023-08-06 03:00:18 -0400 | 
| commit | d3dfc56318829e212a87da6874011d8304be31b0 (patch) | |
| tree | 3e62dd637c5aa64f3ba51c3c08f35e1363efad97 /tnslc/tnslc_wrapped.tnsl | |
| parent | 8535ee80ebccb81cebd61d1f33992aaf682e455a (diff) | |
Frame out port of compiler
Diffstat (limited to 'tnslc/tnslc_wrapped.tnsl')
| -rw-r--r-- | tnslc/tnslc_wrapped.tnsl | 6 | 
1 files changed, 5 insertions, 1 deletions
| 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) |