significant refactor and simplification

This commit is contained in:
Ava Hahn 2023-02-17 21:00:07 -08:00
parent ca4c557d95
commit 7555a90328
Signed by untrusted user who does not match committer: affine
GPG key ID: 3A4645B8CF806069
8 changed files with 501 additions and 422 deletions

View file

@ -126,9 +126,9 @@ one of these may fix borrow checker insanity
**** DONE YEET AST EVERYWHERE. PASS AROUND A SEG REF.
*** TODO refactor code into more digestible, better organized pieces
**** DONE combine var and func table into global sym table
**** TODO code deduplication and cleanup in sym table
**** TODO refactor and reimplement eval
**** DONE refactor and reimplement eval
**** TODO (test and get it working)
**** TODO lex/eval/e2e tests for var that holds callback func
*** TODO Rudimentary Control Flow
**** TODO if clause
**** TODO loop clause
@ -141,8 +141,8 @@ one of these may fix borrow checker insanity
**** DONE manual verification of config defaults
*** TODO Help function
*** TODO Env function
*** TODO User variable declaration
*** TODO User function declaration
*** DONE User variable declaration
*** DONE User function declaration
*** TODO Load (load a script) function
Pull/Refactor the logic out of the configure functions.
Optionally return a list of new variables and/or functions?