This commit is contained in:
2026-02-08 15:45:53 +01:00
parent e77c7028b9
commit 4c201c4085
4 changed files with 29 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
const string contents = """
func main(): i32 {
let x: i32 = 23
do_something("test")
return 69
}
@@ -14,4 +15,4 @@ var tokens = Tokenizer.Tokenize(contents);
var nodes = Parser.Parse(tokens);
var output = Generator.Emit(nodes);
Console.WriteLine(output);
File.WriteAllText("C:/Users/oliste/repos/nub-lang/compiler/Compiler/out.c", output);