diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -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) |
