TASH is the implementation of a binding to Tcl/Tk from Ada.
Its purpose is to
- allow a Tcl program to use Ada in place of C to implement
Tcl commands where additional execution speed, more
complex data structures, or better name space management
is needed, and
- make the Tcl library functions available to an Ada
program. These include string and list handling, regular
expression matching, hash tables, and rapid development
of Platform-Independent Graphical User Interfaces via Tk.
[ Ada/Tcl | Ada/Tk | License Terms
| Release Notes| Get
TASH | Samples | GNAT
| Tcl/Tk ]
- Ada/Tcl
- The TASH binding derives its name from the name of the
Ada/Tcl version of the Tcl shell interpreter: Tcl Ada SHell.
This program functions similarly to the tclsh
program in the Tcl distribution in that it will read and
interpret a Tcl script. It also serves as a starting
point for building a custom Tcl interpreter where new Tcl
commands are implemented in Ada rather than C.
A paper
describing the rationale of the design of TASH is
available in HTML and
Postscript in the docs
directory.
- Ada/Tk
- TWASH is the Tcl Windowing Ada SHell.
It functions similarly to the wish program in the
Tk distribution in that it will read and interpret a
Tcl/Tk script. As with TASH, it also serves as a starting
point for building a custom Tcl/Tk interpreter.
A
paper describing how TWASH can serve as a
Platform-Independent toolkit for development Graphical
User Interfaces is available in HTML and Postscript in
the docs directory.
- Software use License Terms
- It is my intention to make this software as freely
available as possible, while not violating the rights of
the Regents of the University of California and Sun
Microsystems, Inc. This appears best done by simply using
the License Terms included with Tcl/Tk.
-
Release Notes
- Release notes for the current and previous versions of TASH.
- How to get and install
TASH
- TASH is available through courtesy of
Vince Castellano's
XAda site at
OC Systems, Inc.
You can get TASH via
anonymous ftp.
The file, INSTALL.html, provides
details on how to install and build it.
- Sample Programs
- The two directories, demos
and tests, contain
several sample Ada programs which demonstrate and test
the use of Tcl or Tk via the TASH interface.
- How to get and install
GNAT
- TASH was built on a Sun with Solaris 2.5.1 and the GNU
New York University Ada Translator (GNAT), version 3.07.
A description of GNAT may be found at Ada Home
and it may be fetched via anonymous ftp from ftp://cs.nyu.edu/pub/gnat/
and its mirrors.
- How to get and install Tcl
- The home page for Tcl is http://www.smli.com/research/tcl/.
This provides additional information about Tcl and
instructions on how to get and install it.