aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormryouse2022-05-21 04:47:10 +0000
committermryouse2022-05-21 04:47:10 +0000
commit40b5285668629a54f5321b81a8c34539e92d601c (patch)
tree0badf471c770f3fb9f33ed9fc6d63506407da97f /README.md
parent16c75f926f41cb9aa89a7cef4e859c10dd08b6e5 (diff)
progress 5/20
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index ef765ca..ec6b177 100644
--- a/README.md
+++ b/README.md
@@ -21,12 +21,16 @@
- `(+ [arg :number] [many :number]) => :number`
- `(- [arg :number] [many :number]) => :number`
- `(* [arg :number] [many :number]) => :number`
+ - `(/ [num :number] [denom :number]) => :number`
### string
- TODO `(concat [arg :string] [many :string]) => :string`
### flow control
- `(if [cond :bool] [t-branch :any|:expr] [[f-branch :any|:expr]]) => :any`
+ - `(for-count [count :int] [many :expr]) => :any ; creates 'idx' variable with loop count`
+ - `(| [first :expr] [many :expr]) => :any ; creates 'items' variable`
+ - `(branch ([cond1 :bool] [expr1 :any]) [([condN: :bool] [exprN :any])]) => :any`
### type checking TODO
- `(string? [arg :any]) => :bool`
@@ -78,7 +82,7 @@
- [x] if
- [x] if with empty else
- [ ] branch
-- [ ] pipe
+- [x] pipe
### lists
- [x] lex