Commit Graph

697 Commits

Author SHA1 Message Date
15b1808741 Add spans to all statements 2024-03-16 15:01:45 -04:00
5b79af6e85 Rename and clean up 2024-03-14 11:49:10 -04:00
fdf286cb51 Add memory management 2024-03-11 21:57:27 -04:00
4be32d0a5d Add while loops 2024-03-11 18:22:11 -04:00
346d9ba878 Add parsing for while loops 2024-03-11 17:58:26 -04:00
565fd450a9 Remove expressions from break statements 2024-03-11 17:44:52 -04:00
780ea0858b Pass all tests 2024-03-11 15:17:01 -04:00
bf72e779fe Rename functions 2024-03-11 14:51:02 -04:00
764ea0550d Pass function tests 2024-03-11 14:49:44 -04:00
cabbf8821f Fix if/else type checking and recursion test 2024-03-10 14:48:53 -04:00
f544bd008e Fix lexing error 2024-03-09 20:57:46 -05:00
a3591d19af Clean up type parsing 2024-03-09 15:17:19 -05:00
2dd1628bca Fix function validation and parsing 2024-03-09 12:58:29 -05:00
e272d99bae Implement function calls 2024-03-09 08:10:54 -05:00
eba12b13a3 Begin adding function calls 2024-03-09 07:34:34 -05:00
b9190514c4 Add output function 2024-03-09 06:55:19 -05:00
5f958c72b8 Begin implementing built-in functions 2024-03-08 22:34:17 -05:00
3064a92e73 Pass tests 2024-03-08 21:26:49 -05:00
05c9e70d49 Pass tests 2024-03-08 21:05:56 -05:00
62185ff087 Begin implementing ranges 2024-03-08 20:30:26 -05:00
a92074a77b Add tests 2024-03-08 19:05:17 -05:00
0c1a2f4499 Remove implicit cloning for string values 2024-03-08 16:22:24 -05:00
56fbbdee0b Begin implementing functions 2024-03-08 16:14:47 -05:00
b7288ceed8 Implement if/else, loops and breaks 2024-03-08 14:29:53 -05:00
5571418d44 Begin implementing if/else 2024-03-08 14:01:05 -05:00
ec9f17070c Implement add-assign and subtract-assign 2024-03-08 13:26:55 -05:00
f70c8f2b40 Begin adding add-assign and subtract-assign 2024-03-08 12:39:35 -05:00
d99ebc0a44 Add run Action type 2024-03-08 12:24:11 -05:00
dac7656572 Improve value display 2024-03-07 22:20:59 -05:00
a6a02f26e4 Add map values 2024-03-07 16:19:24 -05:00
32028acab2 Add map parsing 2024-03-07 16:13:15 -05:00
7ee7a083ae Add more math for integers 2024-03-07 12:33:30 -05:00
d99e3cb861 Add indexes 2024-03-07 12:29:07 -05:00
85d954181b Add Control token type 2024-03-07 06:57:33 -05:00
c51b142130 Add math 2024-03-07 06:33:54 -05:00
4d76023775 Add Operator token type 2024-03-07 05:37:26 -05:00
65d2fd3270 Add and pass test 2024-03-06 23:21:07 -05:00
fdf6983ab2 Make one report for each error 2024-03-06 22:15:35 -05:00
37a88df613 Pass test 2024-03-06 19:45:41 -05:00
bff5ba81a3 Add and pass test 2024-03-06 18:15:25 -05:00
4db3ae7cb8 Add more errors 2024-03-06 17:32:31 -05:00
799b5d838c Improve and expand errors 2024-03-06 16:50:44 -05:00
da5122358e Add fancy errors 2024-03-06 16:24:48 -05:00
13394e6a8f Improve API and errors 2024-03-06 15:36:58 -05:00
28efa78db1 Implement basic type checking 2024-03-06 12:15:03 -05:00
76be50eab3 Parse loops 2024-03-01 20:17:55 -05:00
5cb86b80df Add and pass block tests 2024-03-01 19:29:16 -05:00
459acb2d63 Pass assignment test 2024-03-01 19:15:03 -05:00
0ed30c7220 Parse list types 2024-02-28 21:34:14 -05:00
e5aeaa67d8 Expand lexer and parser with more tests 2024-02-28 21:04:38 -05:00