Commit Graph

241 Commits

Author SHA1 Message Date
b4e5caa0f0 fix: fix assignment parser 2024-10-19 21:20:25 -05:00
aede32a068 feat: parse assignments 2024-10-19 20:57:09 -05:00
68d3e0dba4 test: add tests to binary operator parsing 2024-10-19 19:48:33 -05:00
2a2da32245 feat: Add jenkinsfile 2024-10-05 14:05:03 -05:00
6bfe840314 test: function call semantics 2024-10-02 17:20:04 -05:00
3475b55db5 refactor: move function call check to its own file 2024-10-02 16:43:47 -05:00
4760eea8f4 chore: create helpers for expression testing in semantic analysis 2024-10-02 16:25:42 -05:00
71095deaa0 refactor: improve typechecking of binary operator 2024-10-02 12:31:16 -05:00
b7d7244cfa fix: add tests to the function declaration parser 2024-10-01 14:57:52 -05:00
2a52615153 fix: error reporting sometimes used token position instead of code position 2024-10-01 13:14:59 -05:00
9225114658 feature: add compilation level to tokenize command 2024-09-30 19:28:32 -05:00
9857863220 refactor: changes 2024-09-30 18:37:36 -05:00
15030635fb refactor: migrate all errors to new struct 2024-09-15 19:09:19 -05:00
1a7dd72783 refactor: migrate syntax errors into new struct 2024-09-15 16:34:46 -05:00
b59d014383 refactor: migrate syntax errors into new struct 2024-09-13 19:54:27 -05:00
fef5ee8041 refactor: begin to implement new error interface 2024-09-13 19:02:19 -05:00
eed0bb8c76 Integrate ariadne for error reporting 2024-09-12 09:05:22 -05:00
7091c81201 feat: typecheck while loops 2024-08-29 10:11:05 -05:00
d4f34b62e2 feat: typecheck conditionals and for loops 2024-08-29 09:54:53 -05:00
441db4bcad feat: typecheck arrays 2024-08-29 09:12:08 -05:00
438802d011 feat: parse while loops 2024-08-28 09:45:58 -05:00
86166c2105 feat: parse loops 2024-08-28 08:53:06 -05:00
fa4d79dbe4 feat: parse arrays 2024-08-27 18:34:30 -05:00
72bd8c50c9 feat: parse conditionals 2024-08-27 16:13:59 -05:00
6ff782a20e refactor: simplify statement termination parsing 2024-08-27 10:49:25 -05:00
46758f1ddf feat: implement semantic check for a function declaration 2024-08-27 10:15:04 -05:00
b481351597 feat: enforce new line after a statement 2024-08-27 09:53:10 -05:00
f0cde4a28e feat: semantic check for binary operator 2024-08-27 08:20:47 -05:00
ee9b12253d feat: semantic check for unary op 2024-08-27 07:50:57 -05:00
28d48c8b2f refactor: reenable tests 2024-08-26 17:00:40 -05:00
6965eda6a7 refactor: remove old code 2024-08-26 16:25:20 -05:00
974c380eaf refactor: revert to old ast transformation strategy 2024-08-26 16:13:54 -05:00
912384c856 refactor: change tokenize api 2024-08-26 08:44:03 -05:00
4ac01099ce chore: update changelog 2024-08-13 15:19:18 -05:00
2b23e36955 feat: lex octal and binary 2024-08-13 15:05:28 -05:00
e52176f90c feat: store tokens in ast for basic nodes 2024-08-13 08:04:01 -05:00
d999b8ecfd feat: store paren positions on argument list 2024-08-12 20:08:09 -05:00
96d3e11951 feat: store tokens for all primitive nodes in the ast 2024-08-12 19:51:24 -05:00
d88d2e7f2d feat: store token on expression::int 2024-08-12 19:36:31 -05:00
f7168f1d09 test: typing of function calls 2024-08-12 19:07:28 -05:00
462b45ee51 test: return from typed expression::identifier 2024-08-12 18:52:42 -05:00
833a8774d8 feat: store identifier token in the ast 2024-08-12 18:44:05 -05:00
d5f2176fa7 refactor: reenable file compilation 2024-08-02 08:41:25 -05:00
f1b15db509 feat: Add semantic errors to tokenize command output 2024-08-01 20:34:08 -05:00
6eef841e84 feat: Naive transpiling of variable bindings 2024-08-01 17:49:25 -05:00
9cd1b70103 feat: codegen of top level expressions 2024-08-01 15:37:00 -05:00
8e18458125 feat: PHP simple assignment 2024-08-01 15:21:08 -05:00
4c565df699 feat: semantic analysis for hello world 2024-08-01 10:34:08 -05:00
c0e20ad283 refactor: Dont store quotes inside string tokens 2024-07-31 10:54:17 -05:00
a62d08455b refactor: remove old codegen, test new codegen nodes 2024-07-31 10:33:54 -05:00