aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormryouse2023-05-27 02:00:22 +0000
committermryouse2023-05-27 02:00:22 +0000
commit82df87bda882fadf7d5c11de50f8fe7628aa0448 (patch)
tree72d23e73d21567afb533e5237fb6b37f52e5f13a /README.md
parentea424bbc160ba84c4069a2889689be8685d35a1d (diff)
5/26/2023 update
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 14 insertions, 5 deletions
diff --git a/README.md b/README.md
index 399b142..44efcfb 100644
--- a/README.md
+++ b/README.md
@@ -17,14 +17,18 @@ now in bytecode
stopped running with [11e9f1d854](https://git.rawtext.club/mryouse/neb-d/commit/11e9f1d854602aae7cb895cfb2f9fc5dd338e6f8),
helful? not really, not yet.
- [ ] defining multiple functions in a script doesn't seem to work?
+ - [ ] there are many instances of popping on an empty stack. i have a warning emitted,
+ which should help me track it down *at some point*, but at least it doesn't crash.
+ - [ ] `append` on an empty list segfaults
+ - [ ] arity checking is entirely arbitrary for builtins, non-existant for user-defined functions
+ - [ ] parsing does not handle types correctly, or comments at all
- [ ] i mean, nearly nothing works
## things that hopefully work
- - [x] addition!
- - [x] subtraction!
- - [x] `if`/`and`/`or`!
- - [x] `>`/`<` and co.
- - [x] `func` to define a function, `lambda` to make one on the fly
+ - [x] math (\*+/-)
+ - [x] control flow (`if`/`and`/`or`)
+ - [x] logic (`>`/`<`/`eq?`/`not` and co.)
+ - [-] `func` to define a function (global only?), `lambda` to make one on the fly
- [x] `def`, globally and locally
- [x] `block`? maybe?
- [-] lists/strings:
@@ -33,3 +37,8 @@ now in bytecode
- [x] `length`
- [x] `concat`/`append`
- [x] `in?` (membership for lists, substrings for strings)
+ - [-] types:
+ - [x] `any?`/`nil?`
+ - [-] higher-order functions
+ - [x] `map`! (i'm particularly excited about figuring out how to do this on the stack,
+ though i'm sure it's quite a naive implementation)