Retro Forth

Retro is a modern, pragmatic Forth drawing influences from many sources. It's clean, elegant, tiny, easy to grasp, and adaptable to many tasks.

It's not a traditional Forth. Drawing influence from colorForth, it uses prefixes to guide the compiler. From Joy and Factor, it uses quotations (anonymous, nestable functions) and combinators (functions that operate on functions) for much of the stack and flow control. It also adds vocabularies for working with strings, arrays, and other data types.

Retro runs on Nga, a tiny virtual machine emulating a MISC style processor. Implementations of this are included in 65c816 Assembly, C, C++, C#, JavaScript, Nim, Pascal, Python, Swift, and Retro.

Latest Release

New releases are made quarterly, in January, April, July, and October.

The current release is 2021.4

Source (tar.gz)

Development Snapshots

These are updated hourly.

Latest Source

Latest Documentation (epub)

Latest Documentation (text)

retro.c (Amalgamation for BSD, Linux, Haiku, Windows)

Repositories

Fossil:

http://forthworks.com:8000

Git:

https://git.sr.ht/~crc_/retroforth

https://github.com/crcx/retroforth.git

Resources

Examples

Community

#retro on irc.libera.chat

#retro:libera.chat (Matrix)

IRC Logs

Web Chat

Bug Reports