Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 966 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 966 Bytes

Port of JonesForth to MacOS Catalina

This is a fairly simple port but had to deal with a number of idiosyncrasies of MacOS and x64 programming.

This is also not an elegant port. For instance, sbrk is not implemented and to get the assembler going, I just mmapped a large enough segment as rwx (to allow self modifying code) via the mmap syscall. The x64 specific code is also probably inefficient. However, this version passes all the tests and can serve as a basis for further improvements, on Catalina, Big Sur, and Monterey.

Thanks to

   * Richard W.M. Jones <[email protected]> for the original code

   * John Leuner <[email protected]> for the
     x64 linux port

   * Ruda Moura (https://github.com/ruda/jonesforth-macintel) for
     the 32-bit Mac port

May the forth be with you!

Copyright and License

As the original JonesForth, this port is PUBLIC DOMAIN. See the release statement in jonesforth.S.