programming language
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.
 
 
matt 2dfee85722 add reminder in README 8 months ago
.gitignore add tokenizer 8 months ago
LICENSE initial commit 8 months ago
Makefile Add newline as token type and add skeleton for parser 8 months ago
README add reminder in README 8 months ago
main.c Add newline as token type and add skeleton for parser 8 months ago
parse.c add reminder in README 8 months ago
parse.h Add newline as token type and add skeleton for parser 8 months ago
token.c Add newline as token type and add skeleton for parser 8 months ago
token.h Add newline as token type and add skeleton for parser 8 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+:_
)