aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormryouse2023-05-25 02:50:32 +0000
committermryouse2023-05-25 02:50:32 +0000
commit837b4621b0880c2b844cc3dd20a85535e878383c (patch)
tree560d23aae2449e09644dfff5cc5b802a3322e66e
parentd13ae11c4f7cccd8f5e3ad072597c55c9471a638 (diff)
5/24/23 update
-rw-r--r--README6
1 files changed, 5 insertions, 1 deletions
diff --git a/README b/README
index 56f12a0..def2951 100644
--- a/README
+++ b/README
@@ -3,7 +3,7 @@
now in bytecode
## broken things
-[ ] VM immediately returns after a `def`
+[x] VM immediately returns after a `def` (fixed with [d13ae11c4f](https://git.rawtext.club/mryouse/neb-d/commit/d13ae11c4f7cccd8f5e3ad072597c55c9471a638)?)
[ ] lists work for atoms like `(list 1 2 3)` but not evaluated expressions
like `(list (+ 2 3) 4 5)` (i think that only includes 3 4 5). might need
something like a MAKE_LIST op, followed by a length of how many items?
@@ -13,6 +13,8 @@ now in bytecode
checks to avoid some of them, b) should only need to type check certain
things once (so long as variables can't change type), and c) should probably
generalize the typecheck op with a parameter to enable more flexibility
+[ ] compiler errors don't stop the VM from running, and are not particularly helpful
+[ ] defining multiple functions in a script doesn't seem to work?
[ ] i mean, nearly nothing works
## things that hopefully work
@@ -21,3 +23,5 @@ now in bytecode
[x] `if`/`and`/`or`!
[x] `>`/`<` and co.
[x] `func` to define a function, assuming it only has ^^ those things
+[x] `def`, globally and locally
+[x] `block`? maybe?