Commit Graph

585 Commits

Author SHA1 Message Date
d076a329d2 Add test; Fix struct type resolution 2024-03-19 19:33:02 -04:00
21fea2b43f Implement structure values 2024-03-19 19:16:33 -04:00
bcc89f2c7d Implement structure parsing 2024-03-19 18:31:52 -04:00
16d443d8a6 Implement struct definition and type 2024-03-19 17:49:24 -04:00
c7b189a83f Begin implementing structures 2024-03-19 17:18:36 -04:00
6d50ac5b37 Remove boxing from parse function 2024-03-19 17:12:32 -04:00
953454a140 Roll back changes from the rewrite branch 2024-03-19 16:46:03 -04:00
b7ae0f1b52 Expand modules and function built-ins 2024-03-18 08:15:30 -04:00
18b8fd6681 Refine error output 2024-03-18 05:47:21 -04:00
7dcfccf7cb Improve errors 2024-03-18 05:39:09 -04:00
1750132ed8 Begin improving errors 2024-03-18 03:24:41 -04:00
3a97ba76a0 Get read_line built-in working 2024-03-17 21:42:53 -04:00
dd5136827c Pass all tests 2024-03-17 21:10:51 -04:00
27c25a587b Begin implementing indexes 2024-03-17 21:07:03 -04:00
791610b350 Improve built-in values and errors 2024-03-17 18:03:43 -04:00
bc5cadc446 Fix errors 2024-03-17 17:39:39 -04:00
c3402394a2 Rewrite while loops 2024-03-17 16:59:52 -04:00
fed119f38b Pass all tests 2024-03-17 13:36:31 -04:00
199e1c9184 Fix tests and parser 2024-03-17 10:19:22 -04:00
062a3b606c Fix tests and parser 2024-03-17 09:54:15 -04:00
765decdd41 Fix tests 2024-03-17 08:30:46 -04:00
1b367d4dfb Fix tests; Add SourcePosition type 2024-03-17 07:48:06 -04:00
4ea19f238e Fix tests; Refine parsing 2024-03-17 07:31:45 -04:00
f9b4b1bc01 Fix tests 2024-03-17 06:52:11 -04:00
0e2d1021cb Fix parser 2024-03-17 06:26:12 -04:00
46419956bd Improve positioning 2024-03-17 02:51:33 -04:00
3224c04f72 Fix everything except the parser 2024-03-17 01:26:05 -04:00
e9bfd9f1f8 Begin using Positioned type 2024-03-17 00:49:01 -04:00
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