diff options
| -rw-r--r-- | README.md | 51 | ||||
| -rw-r--r-- | TODO.md | 28 |
2 files changed, 48 insertions, 31 deletions
@@ -8,8 +8,53 @@ - **Immutable variables**: mutability is scary and makes for strange bugs - **Pure functions**: side effects are also scary -## things that work - - `(print [out :string]) => :bool` +## things that (hopefully) work + +### housekeeping + - `(debug-on) => :bool ; turn on debugging (default)` + - `(debug-off) => :bool ; turn off debugging` - `(exit [[status :int]]) => :bool` - - some arithmetic (`+`, `-`, `*`) + +### io + - `(print [out :string]) => :bool ; print to stdout` + +### math + - `(+ [left :number] [right :number]) => :number` + - `(- [left :number] [right :number]) => :number` + - `(* [left :number] [right :number]) => :number` + +### string + - `(concat [arg1 :string] [arg2 :string]) => :string` + +### flow control + - `(if [cond :bool] [t-branch :expr] [f-branch :expr]) => :any` + +### other - pretty much nothing else + +## TODO (this section may be incomplete) + +### math +- [ ] division (float) +- [ ] division (int) +- [ ] mod (int) +- [ ] exponent + +### strings +- [x] concat +- [ ] substring +- [ ] lower/uppercase + +### flow control +- [x] if +- [ ] if with empty else +- [ ] branch + +### lists +- [ ] lex +- [ ] parse +- [ ] evaluate + +### symbols +- [ ] define +- [ ] access diff --git a/TODO.md b/TODO.md deleted file mode 100644 index caefc4a..0000000 --- a/TODO.md +++ /dev/null @@ -1,28 +0,0 @@ -# TODO - -## Standard Library - -### Math -- [ ] division (float) -- [ ] division (int) -- [ ] mod (int) -- [ ] exponent - -### Strings -- [X] concat -- [ ] substring -- [ ] lower/uppercase - -### Control -- [X] if -- [ ] if with empty else -- [ ] branch - -## Lists -- [ ] lex -- [ ] parse -- [ ] evaluate - -## Symbols -- [ ] define -- [ ] access |
