Embedded scripting for real systems

Small, fast, and practical Forth for C and firmware.

Ficl is a compact, embeddable interpreter built for integration in C systems. It is designed to port quickly, stay small, and expose host APIs without the baggage of a heavyweight runtime.

Standard C, ANS Forth based, and battle tested in embedded and OS tooling.

  • Under 100K Full console build footprint
  • Fast porting Typically under two hours for new targets
  • Interactive Rapid test and debug loops

Why Ficl

Minimal footprint

Keep your embedded images lean while still shipping a full scripting language.

Host friendly

Expose C functions to Ficl and call back into C with simple interfaces.

Threaded VM

Fast enough to stay interactive, with JIT compilation for key paths.

OO extensions

Wrap host data structures with a clean method and message system.

Quick start

1. Download the latest release and build with your preferred makefile.

2. Link libficl into your host program and initialize a system.

3. Add your own C words and start scripting interactively.

Jump to the API docs