Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 875 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 875 Bytes

JonesForth MacIntel

About

This is the port of JonesForth to Macintosh Intel (32-bit). JonesForth is a Public Domain implementation of FORTH language/environment/machine.

Compiling

Use GCC in 32-bit model (-m32), like:

$ gcc -m32 -nostdlib jonesforth-macintel.s -o jonesforth

If you want to compile with debug information, I recommend to use the makefile jonesforth.mk.

$ make -f jonesforh.mk

Running

Pass jonesforth.f which contains procedures written in FORTH with STDIN to read your input, to the interpreter. Note the interpreter don't accept parameters.

$ cat jonesforth.f - | ./jonesforth 
JONESFORTH VERSION 47 
OK 

If you want to exit from the interpreter, the command is BYE.

License

Public Domain.