Commit Graph

19 Commits (e3fc2826ea2a4e895d318f3ccd7370aa9685cd7f)

Author SHA1 Message Date
venko e3fc2826ea Reimplements identifier lookup to work over the AST 2021-05-27 16:17:25 -07:00
venko 79d4715799 Moves generic type identifiers to be the first children of a function in the id-tree 2021-05-23 17:04:50 -07:00
cosmonaut d641f713de progress on generics 2021-05-21 19:52:13 -07:00
cosmonaut 473b706ad9 clang-format config 2021-05-16 00:42:37 -07:00
venko 459a1dd3b7 Refactors identcheck for new AST. Fixes newline bugs in PrintNode. 2021-05-15 19:00:46 -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