You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 months ago | |
---|---|---|
.gitignore | 3 months ago | |
LICENSE | 3 months ago | |
Makefile | 3 months ago | |
README | 3 months ago | |
main.c | 3 months ago | |
parse.c | 3 months ago | |
parse.h | 3 months ago | |
token.c | 3 months ago | |
token.h | 3 months ago |
README
woody is a traditional programming language
note that woody does not exist yet.
no precedence (rtl)
+ add $ concat
- sub ( lambda
* mul ) lambdaend
% div # do x y times
' mod ^ assign to var
~ swp : shift
[ psh ; unshift
] pop . length
= eq > gt
! not ? *TODO*
@ at , array assign
` *TODO* / foldl
{ prec } prec
< iota " string
\ each & and
| or
body if cond body while cond
if cond then body [elsif cond then body [else body]]
_ flat array of arg
fact^(
err if !1=._
if 2 > _@0 then 1
else */<1+:_
)