Projects / FreeForth


FreeForth is a small and fast interactive compiler composed of an extensible set of macros generating inline compact i386 native code, including floating-point instructions, and an easy interface to Linux and Windows dynamic libraries. It uses two stacks to pass subroutines arguments and results separately from return addresses, like other Forth dialects, but unlike them, it is a simpler pure compiler (without an interpreter) offering interactivity through "anonymous" subroutines which are executed by their closing ";" macro. FreeForth is fully documented by 100K of interactive online help. Since its first release in 2006, it has been used every day for cross-development of realtime industrial applications embedded in microcontrollers, and for PC-controlled manufacturing test benches. The FreeForth distribution includes an interactive incremental assembler for the MSP430 microcontroller family.

Operating Systems

Recent releases

  •  06 Jan 2010 09:44

    Release Notes: A few operating system interfaces were added in ff.ff and malloc, free, and lseek.

    •  03 Sep 2009 21:12

      Release Notes: The "FreeForth Code Generation" case study was added (and is linked from the HomePage and Primer). openw0 was added to create null-sized files. f1/` fsqrt` sqrt was added. cr was vectorized to support OS-dependence. Heap space was increased to 512K (for "big" data).


      Project Spotlight


      A Fluent OpenStack client API for Java.


      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.