Skip to content
Wolf Wejgaard edited this page Feb 22, 2018 · 5 revisions

Inner Interpreter

TclForth provides a simple solution for the threading of Forth code and the appropriate inner interpreter: We pass the job to Tcl.

Colon words are Tcl procs that call Forth procs. The Forth proc is defined by calls to Forth (colon and code) procs.

The inner interpreter of Tcl is also the inner interpreter of Forth.

If this is not immediately clear ..., see the Implementation of TclForth for the full story.

Clone this wiki locally