Commit Graph

28 Commits (generics)

Author SHA1 Message Date
cosmonaut a0efcf548d more generic stuff 2021-05-15 12:47:38 -07:00
cosmonaut e5e5397e7e start on generic codegen 2021-05-14 11:55:44 -07:00
cosmonaut a529bb6e4f started work on generics 2021-05-14 11:55:44 -07:00
cosmonaut 41bf2bece8 some minor style revisions 2021-05-14 11:53:09 -07:00
venko f441e5bede Possibly implements full type annotation of the AST 2021-05-12 21:54:09 -07:00
venko 32541d4794 Fixes bugs in LookupId 2021-05-08 15:12:53 -07:00
venko aa2449f7df Implements identifier lookup. 2021-05-08 14:51:15 -07:00
venko 252dc9b87f Disambiguates scopes where ordering matters vs ones where it doesn't 2021-05-08 12:09:25 -07:00
venko 743828450c Explicitly sets IdNode type tags on creation. 2021-05-07 17:51:23 -07:00
venko 5ab3cc533d Adds type tags to the id-tree 2021-05-07 17:49:35 -07:00
venko e2bca66dc4 Adds null-guard to PrintIdTree 2021-05-07 14:36:37 -07:00
venko fddacae487 tiny refactor 2021-05-07 14:19:56 -07:00
venko 71ba1f9454 Minimizes memory footprint of id-tree search 2021-05-07 14:07:57 -07:00
venko 565d815deb Adds error message to FindId, extra test code in main 2021-05-07 13:35:28 -07:00
venko 8f86392cf3 Makes id-tree doubly linked. Fixes id-tree search. 2021-05-07 13:22:51 -07:00
venko 27587d1fb0 Implements identifier trees for for-loops and conditional branching 2021-05-06 20:00:08 -07:00
venko aeb36f9540 Adds type for validating identifiers 2021-05-06 17:17:24 -07:00
venko 6ec5479db1 Moves strdup function to utility file 2021-05-06 17:15:17 -07:00
cosmonaut cbeb8d3ce2 printing 2021-04-30 12:17:44 -07:00
cosmonaut 3b43d44f35 add type specification to iterator variable 2021-04-30 00:50:35 -07:00
cosmonaut 62f42e47b9 initial for loop range implementation 2021-04-29 23:49:35 -07:00
cosmonaut c728dd6b8c if-else chains 2021-04-29 15:26:30 -07:00
cosmonaut 708d4de0ae add else blocks 2021-04-29 13:59:00 -07:00
cosmonaut 7ca87d6b13 parser sequence refactor 2021-04-29 12:42:51 -07:00
cosmonaut a320086038 add if statement 2021-04-28 21:25:25 -07:00
cosmonaut 9a97b73c7c rename compiler to codegen + handle file not found 2021-04-28 16:10:17 -07:00
cosmonaut 49183bf1d3 restructure build process 2021-04-28 16:01:48 -07:00
cosmonaut 272c809c69 input option parsing 2021-04-28 15:21:51 -07:00