Code Monkey home page Code Monkey logo

tclforth's Introduction

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

  • Universal desktop Forth
  • A TclForth program runs unchanged in Windows, OS-X, Linux, and more
  • Native data types array, string, list, and dict
  • Native local variables
  • Native graphical toolkit based on Tk
  • Native database (Metakit)
  • Desktop apps for Windows and OS-X

TclForth is special. Explore a new Forth universe.

Use the Issues for Comments, Questions, Ideas.

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

  • Windows: Run tclforth.exe
  • OS-X: Run tclforth.app
  • Linux: Run tclforthx in a terminal. In the Tcl console:
    cd <source-directory>
    source tfmain.tcl

Example Application ChessMoves Game

Included with the release.

Image of Holon86

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.