Update todo
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user