Commit graph

11 commits

Author SHA1 Message Date
Janis 5c57dfb904 trying to refactor a bit:
- working on a string/bytes table
- no longer directly referencing ir outside of current function; the goal here
is to end up only generating ir for 1 function, then link together in assembling
step. this involves adding an GlobalRef() ast-node and ExternRef() ir instruction
2024-08-16 16:56:11 +02:00
Janis 2689179ed4 changed globaldecl to only allow const instead of let or var as keyword 2024-08-14 17:55:03 +02:00
Janis efff2446bc not entirely sure why yet, but made SymbolTable a tree of pointers 2024-08-14 17:03:10 +02:00
Janis 3bb4ba79bc move symboltable into parser and tree, away from triples gen 2024-08-14 14:57:23 +02:00
Janis 66d08dadcc remove lints 2024-08-13 18:55:36 +02:00
Janis fe25d226d1 integrated SymbolTable into AST/Parser 2024-08-13 18:49:22 +02:00
Janis c3157b1355 not really sure, i guess this is an IR? 2024-08-13 00:00:19 +02:00
Janis 02be9bdc26 simple lexing error reporting 2024-08-09 18:58:26 +02:00
Janis 69e67c882d can generate naive ast and render 2024-08-08 19:14:14 +02:00
Janis b7105c1235 working on parsing ast 2024-08-07 00:35:10 +02:00
Janis e8934b8ccc initial commit 2024-08-06 20:58:09 +02:00