Skip to content

chillleader/forthuna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forthuna

A tiny Forth interpreter (Based on Forthress)

How to launch and use

  1. Clone repository
  2. Run Make
  3. Run ./forthuna

implemented words

  1. Arithmetic:

+, -, *, /, %, <

  1. Logic:

lor, land, =, not, and, or

  1. Data stack:

buf, drop, swap, dup, rot, ., .S, !, @, c!, c@, pushmode_addr, isimmeriate, itincmd

  1. Return stack:

r, r>, r@

  1. System:

isbranch, lit, pushlit, unsetbranch, saveword, savenum, wasbranch, pushmode, buffer, comp_m, inte_m, branchifz, branch, docol, "," , create, warn, bye, exit

  1. Util:

read, prints, printnl, parsei, compare, key, emit, cfa, find

  1. Colon:

', double, >, :, ;

About

A tiny Forth interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published