import "utils/utils.tnsl" import "parse/parse.tnsl" # :import "compile/compile.tnsl" ~uint8 USAGE = " TNSLP v0.1.0 (C) 2026 CircleShift (MPL 2.0) usage: tnslp (file in) generates a parse tree of the given file \0" ~uint8 FOPEN_ERR = "Error opening file\n\0" ~uint8 char_str = "%c\0" ~uint8 newline = "\n\0" /; main (int argc, ~~uint8 argv) [int] asm "mov r10, rdi" asm "mov r11, rsi" /; if (argc < 2) _printf(USAGE) return 1 ;/ utils.File fin fin.init(argv{1}) utils.Vector vec = parse.gen_token_list(~fin) parse.print_token_list(~vec) parse.end_token_list(~vec) fin.end() return 0 ;/