Tcl and other languages

Tcl and other languages links to pages that compare, connect, or sometimes partially reimplement other programming languages to/in Tcl.

See Also

An empirical comparison of C, C++, Java, Perl, Python, Ress, and Tcl, by Lutz Prechelt, 2000-03-10
Tcl and other human languages
Tcl as applications to "natural" human languages.
Tcl in comparison
Code snippets and their counterparts in other programming languages.
Tcl implementations

Languages

Ada
APL
Playing APL - An APL playstation
Playing Assembler
Basic in Tcl
bf
Brainfuck
Making the Tcl interpreter understand Brainfuck notation. http://www.fishpool.com/~setok/proj/tclbf/
C
C Language - Playing C - C struct is Tcl! - C code generators - Building a custom tclsh
C++
Cplusplus streams and Tcl channels - Invoking Tcl commands from Cplusplus, http://www.cv.nrao.edu/glish/ , Tclobj, Swig, TclCl
C#
Both Tcl and C# provide for event-oriented programming.
Caml
http://pauillac.inria.fr/camltk/ [surely someone here has played with the Caml/Tk interface?]
CLIPS
(logic programming, expert systems) Playing CLIPS
COBOL
[there are several Cobol connections] http://isweb34.infoseek.co.jp/computer/bitwalk/cobol_en.html http://members.tripod.com/rpragana/cobol.html http://tiny-cobol.sourceforge.net/ Playing Cobol
ColdFusion
(a server side technology which compiles html enhanced code into Java) http://panoptic.com/cfx_tcl/
D
Eiffel
http://www.elj.com/epan/by_author/jb/tcl-eif/ [I know that eiftcl was created at one point to interface Eiffel and Tcl; anything else done in this domain?]
Erlang
FEMTOL
Forth
RPN in Tcl, Trying FORTH in Tcl, TkFORTH, iFORTH [L1 ], HolonTForth
FORTRAN
ftcl; Embedding FORTRAN programs in Tcl/Tk: http://www.dci.clrc.ac.uk/Publications/Cookbook/f1.html , FORTRAN/TK - a Tk-implementation for Open Watcom FORTRAN 77: http://svn.netlabs.org/fortrantk , Arjen Markus has a prototype for embedding Fortran into Tcl and vice versa. (Just contact me - it is still prototypical.), NaGexTool is a guide and browser for the example programs of the NAG FORTRAN 77 library
G
Gofer
http://www.informatik.uni-ulm.de/pm/projekte/TkGofer/
Guile
Haskell
Playing Haskell Interfacing Tcl with Haskell
hecl
heretcl
Hydra
http://www.tortoise74.me.uk/cybernetics/hydra_overview.html
Icon
InterLanguage Unification (ILU)
Java
Java and Tcl, tclBlend, Jacl, http://www.itl.nist.gov/div897/ctg/java/feather/
Javascript
Tcl in Javascript
Jim
Joy: Playing Joy
Ksh
L
Limbo/Tk
Linda: Building a Notification Infrastructure using Tcl, Zephyr and Linda, W. Scott Meeks, Fifth Annual tcl/Tk Workshop, 1997
Lisp
Tcl and LISP - Playing LISP, newLISP
Logo
Turtle graphics the LOGO way - Turtleshell
Lua
http://www.inf.puc-rio.br/%7Eroberto/lua.html has a Tk binding. There is also Lux [L2 ], which makes Tcl callable from Lua. This [L3 ] is the Lua equivalent of this page on the Lua Wiki [L4 ].
ML
sml_tk is a Standard ML package providing an abstract interface to Tcl/Tk
Modula-3
http://m3.polymtl.ca/m3/pkgf/contrib/m3tcl/.ghindex.html . See also Preprocessing and Radical Language Modification.
Mozart
parenthetcl
parrot
Perl
There are many points where Perl and Tcl touch, including tclperl, Tcl::Tk, Perl/Tk, Inline::Tcl [L5 ].
Picol
A 500 line implementation of a Tcl like language
Prolog
Playing Prolog, http://www.clip.dia.fi.upm.es/Software/Ciao/
Python
Playing Python, tclpython, Tkinter, and Elmer - What about http://www.veritas.com/%7Ebrianw/rivet/ - is there continuing support for this Tk without Tcl project? Also ITCLPYTHON [L6 ]. The Typcl extension lets you use Tcl from Python [L7 ], it is part of CritLib [L8 ]. This [L9 ] and this [L10 ] are the Python equivalents of this page.
Q
Equational Programming Language, which has a Tk interface [L11 ]
R
tk interface in the tcltk package. http://www.r-project.org
Rexx
http://rexxtk.sourceforge.net/ (fixed link 12/11/02)
Ruby
http://www.freebsd.org/cgi/url.cgi?ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/ports/lang/ruby-tcltklib/pkg-descr This [L12 ] is Ruby equivalent of this page.
Rust
rust-tcl , rstk
Sather
http://packages.debian.org/unstable/devel/sather-browser.html [comes with a Tk browser]
Scheme
STk is a Tk binding for Scheme.
Smalltalk
Playing Smalltalk
small tcl
Snobol
Swift/T
A parallel programming language based on Tcl: Example
tiny tcl
TKS, or Toolkit Script Language
TOS
http://www.lifl.fr/~pawlak/tos/

LV: Hey, if you know of other computer programming languages which have some Tcl/Tk relationship, add them above. Also, if you know of people who have written other languages, based on Tcl, add them as well.


CL also occasionally comments on this topic in [L13 ].


http://www.wikipedia.org/wiki/Programming_language_timeline is an interesting Wiki page, a part of an internet encyclopedia. The page provides a time line of applications and programming languages created from 1840 through 2001.

Then there is the Computer Programming Language Dictionary [L14 ] - check out what it says about Tcl.

http://www.acooke.org/andrew/writing/lang.html is a discussion of programming languages, and mentions Tcl as the grand daddy of scripting languages.