Skip to content

Navigation Menu

Sign up
howerj edited this page Jul 6, 2012 · 4 revisions

This is a simple FORTH virtual machine, it needs a lot of work doing to it.
To run, either type ./run.sh on the command prompt or ‘make’, then pipe
the files ‘large.fs’ and ‘escape.fs’ into the executable output.
‘large.fs’ needs to be piped in first, these contain the basic
dictionary and definitions.
Type ‘words’ to see a list of defined words, ‘see’ is not yet
defined neither is DOES>, however create is.
Recursion is possible, but does not work the same way as normal
forth...so don’t use it yet.
There are still a lot of internals that are exposed to the user
that need to be hidden.
It is in no way standards compliant.

Todo:

  • Documentation
  • Networking, more floating point support, more file support
  • Automatic memory allocation, will require a major redesign.
    Any feedback is welcome.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /