Commit Graph

263 Commits

Author SHA1 Message Date
e112354d25 codegen refactored 2021-08-11 14:37:26 +08:00
4db871c244 put alloca in init block 2021-08-09 16:37:28 +08:00
cc0692a34c modified alloca 2021-08-09 16:19:20 +08:00
7a90ff5791 while loop constructs 2021-08-09 16:10:17 +08:00
d8c713ce3d assignment statement 2021-08-09 15:39:50 +08:00
1ffb792000 make tuple a ptr to a struct instead of a struct 2021-08-07 17:41:48 +08:00
057fcfe3df default parameter value generation 2021-08-07 17:31:01 +08:00
86ca02796b function parameter handling 2021-08-07 17:25:14 +08:00
711482d09c expr codegen cleanup 2021-08-07 15:30:03 +08:00
7a38ab3119 codegen for function call 2021-08-07 15:06:39 +08:00
18db2ddd53 change the type TypeEnum::TObj {object_id} to DefinitionId as with top_level
change TopLevelDef::Class {object_id} to DefinitionId
2021-08-06 10:57:01 +08:00
095f28468b added if expr 2021-08-05 16:52:41 +08:00
29286210b5 implementing codegen 2021-08-05 14:56:09 +08:00