Update todo

This commit is contained in:
Krzosa Karol
2022-05-30 18:55:15 +02:00
parent a9b0318720
commit 5e0aabb1cb
3 changed files with 53 additions and 51 deletions

View File

@@ -1,4 +1,3 @@
a_type :: int
pointer_type :: *int
null_pointer: pointer_type = null
@@ -15,17 +14,12 @@ if_stmt :: (cond: int): type
add_10 :: (size: int): int
// @todo: before the generation c pass, each stage should have it's own
// tree transformation phase, where it yanks functions out etc.
add_20 :: (new_size: int): int
return 20
add :: (a: int, b: int = 10): int
return a + b
// thing_2 :: (a: int = "String")
// return
constant :: 20; result := constant + 10
v3 := add(1,2)