A tiny Forth interpreter (Based on Forthress)
- Clone repository
- Run Make
- Run ./forthuna
implemented words
- Arithmetic:
+, -, *, /, %, <
- Logic:
lor, land, =, not, and, or
- Data stack:
buf, drop, swap, dup, rot, ., .S, !, @, c!, c@, pushmode_addr, isimmeriate, itincmd
- Return stack:
r, r>, r@
- System:
isbranch, lit, pushlit, unsetbranch, saveword, savenum, wasbranch, pushmode, buffer, comp_m, inte_m, branchifz, branch, docol, "," , create, warn, bye, exit
- Util:
read, prints, printnl, parsei, compare, key, emit, cfa, find
- Colon:
', double, >, :, ;