wejgaard / TclForth

Multi-platform desktop Forth based on Tcl/Tk
Other
64 stars 9 forks source link
forth multi-platform-desktop stack tcl tcl-procedures tcl-tk

TclForth

A multi-platform desktop Forth system based on Tcl/Tk.

Overview

TclForth uses Tcl as its native language. The Forth code and colon words are compiled to Tcl procedures that pass arguments and results on a stack. The stack items are handled as local variables. 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 details see http://wiki.tcl.tk/37199.

I have built applications with TclForth for a while and 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.

Features

Guide / Wiki

TclForth is special. Explore a new Forth universe.

Comments

Use the Issues for Comments, Questions, Ideas.

UPDATE 64-bit: see https://github.com/wejgaard/HolonCode/tree/master/HolonTF

Release v0.7.0

The TclForth.zip archive contains the source files as well as Tcl executables for Windows and OS-X, and shell code for Linux.

    cd <source-directory>
    source tfmain.tcl

Example Application ChessMoves Game

Included with the release.

Image of Holon86