Logo
Explore Help
Sign In
Imperial-MEng/WACC_37
1
0
Fork 0
You've already forked WACC_37
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity

feat: implement abstract syntax tree #4

Merged
gk1623 merged 12 commits from ast into master 2025-02-02 13:37:49 +00:00
Conversation 8 Commits 12 Files Changed 2 +144

12 Commits

Author SHA1 Message Date
Gleb Koval
1d78072c22 feat: use NoneEmptyList from cats to enfroce non-empty statements 2025-02-01 20:39:56 +00:00
Gleb Koval
1643628c60 Merge branch 'master' into ast 2025-02-01 20:37:29 +00:00
Gleb Koval
5361373c01 refactor: non-recursive statements and array types 2025-02-01 18:10:25 +00:00
Gleb Koval
cc97118e76 fix: add explicit Block statement (required for scoping) 2025-01-31 22:03:54 +00:00
Gleb Koval
af919742a0 fix: fully fix binary operators associativity 2025-01-31 20:39:45 +00:00
Gleb Koval
292551aca0 refactor: format AST to follow BNF order 2025-01-31 20:01:44 +00:00
Gleb Koval
1c0907f610 fix: add BaseType and correct PairElemType nodes 2025-01-31 19:52:45 +00:00
Gleb Koval
373683b592 fix: correct usage of RValue (add to Expr, VarDecl, Assign, PairElem) 2025-01-31 19:52:45 +00:00
Gleb Koval
f4d0ef8e70 fix: replace String with Ident where applicable 2025-01-31 19:52:45 +00:00
Gleb Koval
50a07cf5d4 feat: add Parens AST node 2025-01-31 19:52:45 +00:00
Gleb Koval
c0cf3692fd fix: unary and binary operators AST - consistent style, precedence and associativity 2025-01-31 19:52:40 +00:00
Jonny
49ebf2f7d0 feat: initial ast implementation 2025-01-31 18:20:27 +00:00
Powered by Gitea Version: 1.24.3 Page: 177ms Template: 17ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API