Skip to content

zerodivision/jonesforth-macintel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Port of JonesForth to Macintosh (Intel 32-bit)

Resources

Stars

Watchers

Forks

Packages

No packages published