feat: implement parser #6

Merged
gk1623 merged 16 commits from parser into master 2025-02-02 13:45:26 +00:00

16 Commits

Author SHA1 Message Date
1bb4939fcd Merge branch 'master' into parser 2025-02-02 13:41:12 +00:00
da4b398bf0 fix: do not allow negation of a positive int literal 2025-02-02 13:30:33 +00:00
2588c8287d fix: change lhs of Assign to lvalue 2025-02-02 00:33:16 +00:00
03fdbe01d9 fix: put functions "(" within atomic 2025-02-02 00:30:18 +00:00
b5a1f2565f Revert "fix: add function must return on all paths check"
This reverts commit a71045867a.
2025-02-02 00:27:04 +00:00
cb9796fa87 feat: show exact statement which must be returning at the end of a function 2025-02-02 00:00:09 +00:00
a71045867a fix: add function must return on all paths check 2025-02-01 21:22:48 +00:00
0db7a30af0 refactor: remove excessive atomics 2025-02-01 21:05:42 +00:00
a110225c49 Merge branch 'ast' into parser 2025-02-01 20:56:03 +00:00
f5f6628c89 fix: extract <ident> from <array-elem> 2025-02-01 20:29:04 +00:00
c5b02a00aa feat: initial parser implementation 2025-02-01 17:17:54 +00:00
cfad2f08f4 refactor: non-recursive statements and array types 2025-02-01 17:15:14 +00:00
70aa58b879 fix: disallow exponents, export identifier from lexer 2025-02-01 03:42:02 +00:00
Jonny
e384265189 feat: initial lexer implementation 2025-02-01 03:42:02 +00:00
4754858094 refactor: allow binPack Strings 2025-02-01 03:42:02 +00:00
302fecc91b refactor: remove boilerplate parser 2025-02-01 03:42:02 +00:00