Skip to content

A public domain Forth for Linux and macOS on x86-64.

License

Notifications You must be signed in to change notification settings

shimanauskas/sandrasforth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# sandrasForth

A public domain Forth for Linux and macOS on x86-64.

It is written mostly in (indirect-)threaded code. There is no limit on the
number of primitives, however, each primitive should be kept small.

Since .text and .data are not mixed, CPU caches stay clean.

## Requirements

* `make`
* `gcc` or `clang`

## Errors

Upon a word not found, the kernel outputs it, followed by a question mark.

The kernel will compile a definition without the words not found.

If the kernel crashes while defining a word, it most likely ran out of
statically allocated memory.