Commit Graph

103 Commits

Author SHA1 Message Date
c3402394a2 Rewrite while loops 2024-03-17 16:59:52 -04:00
fed119f38b Pass all tests 2024-03-17 13:36:31 -04:00
4ea19f238e Fix tests; Refine parsing 2024-03-17 07:31:45 -04:00
0e2d1021cb Fix parser 2024-03-17 06:26:12 -04:00
3224c04f72 Fix everything except the parser 2024-03-17 01:26:05 -04:00
fdf286cb51 Add memory management 2024-03-11 21:57:27 -04:00
bf72e779fe Rename functions 2024-03-11 14:51:02 -04:00
cabbf8821f Fix if/else type checking and recursion test 2024-03-10 14:48:53 -04: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
6dbae12315 Experiment with new parser 2024-02-23 07:40:01 -05:00
a52eadc5ad Pass function tests; Fix recursion 2024-02-18 04:48:45 -05:00
bda217135e Simplify errors; Make another pretty error type 2024-02-16 17:56:36 -05:00
4b0910a545 Implement new math interface for Value 2024-02-16 15:37:07 -05:00
d2e0de0483 Fix function contexts and recursion 2024-02-16 13:23:58 -05:00
c2ba519240 Overhaul built-ins and identifiers 2024-02-15 15:20:29 -05:00
a23688803c Add test; Pass test by fixing type validation bug 2024-02-14 18:46:05 -05:00
3f4c4ff464 Fix type checking bug 2024-02-13 08:10:34 -05:00
3c72e4f988 Rework built-in function arguments; Fix context bug 2024-02-12 18:55:54 -05:00
41a268389c Fix function recursion 2024-02-12 18:15:49 -05:00
bbab728ce9 Add context to function call nodes 2024-02-12 17:55:45 -05:00
d997bbd08a Continue implementing context 2024-02-10 19:31:47 -05:00
e486413aca Fix type setting bugs; Rename function 2024-01-31 20:52:34 -05:00
9a465cb42d Continue error overhaul 2024-01-31 19:35:27 -05:00
88ca9c5ea4 Implement error overhaul 2024-01-31 19:07:18 -05:00
7f849f13a3 Begin error overhaul 2024-01-31 13:51:48 -05:00
c5241bb0af Write docs 2024-01-30 18:19:05 -05:00
6a9ce76007 Clean up 2024-01-28 17:46:15 -05:00
58bbbb749e Revert "Add loading binaries as functions"
This reverts commit 8f3d36fc8d.
2024-01-25 04:45:25 -05:00
8f3d36fc8d Add loading binaries as functions 2024-01-25 04:19:45 -05:00
7642b23553 Remove useless function call "name" argument 2024-01-17 15:12:37 -05:00
c75538c064 Clean up 2024-01-10 15:03:52 -05:00
b7db177bd2 Fix variable context bugs 2024-01-09 20:38:40 -05:00
e6acb8cbb9 Implement function purity 2024-01-06 11:17:08 -05:00
8737175df0 Implement formatting 2024-01-06 08:11:09 -05:00
a52b17930e Implement basic formatting 2024-01-06 05:00:36 -05:00
45384fb394 Adjust test 2024-01-05 22:40:58 -05:00
bb53331b65 Add new means of reporting type check errors 2024-01-05 22:26:37 -05:00
d4487117eb Revert changes to map type 2024-01-05 20:02:29 -05:00
ff6cc707d2 Implement new type checking 2024-01-03 19:58:07 -05:00
976cb7de3f Implement new built-in values 2024-01-01 07:46:47 -05:00
ae66e2a211 Implement new built-in values 2024-01-01 04:59:27 -05:00
1d26b0b418 Clean up 2023-12-29 22:26:37 -05:00
f3921ba87c Revise function and yield syntax 2023-12-29 21:15:03 -05:00
55de33ceb7 Revise function syntax 2023-12-29 20:14:03 -05:00
e10429e1e9 Extend function expression to values and indexes 2023-12-29 19:22:41 -05:00
17fa708739 Add FunctionExpression to fix syntax bug 2023-12-29 18:59:15 -05:00
6be9204123 Improve Intepreter API for shell use 2023-12-29 14:01:54 -05:00
34db948c6e Implement option type 2023-12-26 20:05:19 -05:00
9dfaf1420c Implement option value 2023-12-26 19:33:19 -05:00