wejgaard/TclForth

Introducing TclForth

wejgaard opened this issue · 0 comments

TclForth is a Forth system that uses Tcl as its native language. It is a symbiosis of both worlds: The Forth code and colon words are compiled to Tcl procedures that handle arguments and results on a stack. The Forth and Tcl procedures coexist in the Tcl namespace and are all taken care of by the Tcl runtime system. Thus, the Tcl bytecode interpreter is also the inner interpreter of TclForth. For more see http://wiki.tcl.tk/37199.

I have built applications with TclForth for a while and now release it as an open source project. The system is prepared as self-contained double-click executables for Windows and OS-X (starpacks) and as a set of source files for Tcl in Linux and elsewhere. Installation = unzip.

I have not attempted to pack the complete universe of Tcl into Forth words. There are the usual standard words and a set of Tk words that I have needed so far. You are welcome to add whatever you miss.

The user guide in the wiki illustrates the features.