Skip to content

A basic implementation of a Forth interpreter in many languages

Notifications You must be signed in to change notification settings

jdm64/weakforth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeakForth

A very simple Forth interpreter implemented in various languages. The design is inspired by libforth.

Words

  • . Print the top of the data stack
  • .. Print the whole data stack
  • + Add
  • - Subtract
  • * Multiply
  • / Division
  • dup Duplicate top of stack
  • pop Pop top of stack
  • clr Clear stack
  • swp Swap top two values on stack
  • exit Quit interpreter

About

A basic implementation of a Forth interpreter in many languages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published