Commit graph

22 commits

Author SHA1 Message Date
9b447eb5b7 rename relish to flesh 2024-02-06 22:39:08 +00:00
789349df48 Error Messaging Redesign
This commit contains the following:

* New data types to support full tracebacks
* New traceback data type used across stl and ast
* Updates to tests
* fixes for error messaging in sym and some stl functions
2023-05-23 22:06:11 +00:00
381852b3bd
Implemented SymTable optimization for efficient variable updates 2023-03-20 17:16:44 -07:00
dcb2969b0a
* fixed and wrote test for lambda and function as arg case
* added license to userlib tests
* added map impl to userlib
* userlib tests now run and pass
* all args are evaluated individually
2023-03-20 16:22:51 -07:00
Ava Hahn
ca9f755d50
rustfmt previous commit 2023-03-05 22:37:13 -08:00
Ava Hahn
dc6342bc74
Several changes, see commit msg
* clean up all tests
* bugfix for zero value functions, and test
* removed expand function, put in snippets
* added doc strings to Symbol type
* added doc strings to symbol declarations
* implemented display for Args type
* wrote a help function
* wrote docstrings for all builtins and config vars
2023-03-05 22:18:49 -08:00
Ava Hahn
bc09cb07b1
rustfmt
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-01 11:47:37 -08:00
Ava Hahn
09e3546ba6
implement basic control flow, error handling from functions, many tests
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-27 22:53:54 -08:00
Ava Hahn
93a1e06a53
all tests green
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-25 23:36:30 -08:00
Ava Hahn
82854a58f8
expand func call tests
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-24 16:05:10 -08:00
Ava Hahn
8e13b5b87f
tests function now
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-24 15:29:17 -08:00
Ava Hahn
e055f26e90
replace mutex with rwlock
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-20 19:42:48 -08:00
Ava Hahn
b20f64b038
all tests but vars tests refactored
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-17 22:10:54 -08:00
Aidan Hahn
be73b0b828
refmt 2022-01-16 22:02:40 -08:00
Aidan Hahn
f805290a4b
finally figure out how to hold closures 2022-01-16 22:01:42 -08:00
Aidan Hahn
e139756a81
cleaner test code 2021-11-02 20:12:14 -07:00
Aidan Hahn
2c30975571
more complex tests 2021-07-19 23:59:03 -07:00
Aidan
df5cb47cb4
Significant improvement to eval routine and tests 2021-06-22 00:50:37 -07:00
Aidan
9b981921b4
add more unit tests for function calls 2021-06-06 10:24:19 -07:00
Aidan
a6abc993a5
finish eval referencing issues, update func tests 2021-06-05 17:46:13 -07:00
Aidan
4712d5466c
simplify func return type, complete eval and process logic 2021-06-05 01:14:38 -07:00
Aidan
3434a49cc1
Big referencing refactor
- RC+RefCell pattern used... everywhere
- Ast type implemented
- unit tests for func_call
- more changes, but this commit scope has grown significantly and I
cannot list them all
2021-03-14 16:14:57 -07:00