looking for interpreter / macro language facility

Mark Harrison harrison at csl.dl.nec.com
Fri May 24 01:19:14 AEST 1991


In article <1991May22.153052.30224 at wpi.WPI.EDU>
ajb at miles.WPI.EDU (Arthur J. Butler) writes:

>hi.  i am looking for advice and/or suggestions on an interpreter or
>macro language facility which i plan on adding to my application.  are
>there common languages which are used to add macro facilities to
>applications?

You might want to check out tcl, the Tool Command Language, by Prof.
John Ousterhout at UC Berkeley.  I have used it on several projects
now and am immensely pleased with the results.

It is distributed as part of the Tk release.  Here is the release
announcement for Tk 1.0:
------------------------------------------
This is to announce the first official release of the Tk toolkit
for X11.  Tk is philosophically similar to Xt, but it is based
around the Tcl language.  The use of Tcl simplifies the toolkit
and also provides a great deal of additional power:  many
applications can be written as Tcl scripts without writing any C
code at all, and Tcl provides a means for different applications
to communicate with each other.  A paper describing Tk appeared
in the Winter '91 USENIX Conference Proceedings, and is also
distributed as part of the release.

The release contains source code and documentation for the
following things:
    (1) The Tk toolkit.
    (2) The Tcl command language.
    (3) A Motif-like widget set.
    (4) A simple windowing shell called "wish".
    (5) A few demo scripts for wish.
All of the Tk and Tcl stuff is public and free.  As far as I'm
concerned, you can do anything you want with it.  If you build
applications based on Tk I'd be interested to hear what they are
and how Tk helped or hindered your application(s).  If you decide
Tk is a piece of junk, I'd be interested to hear your reasons.

Overall, I'd rate this release as about beta-level in quality:  I
hope that the code is pretty stable, but I expect to get a lot of
feedback about missing or undesirable features.  There's a complete
set of manual entries but no tutorial-style introduction yet.  I hope
that you won't have too much trouble getting started with Tk if you've
had previous experience programming X11.

Some of you may have discovered various pre-release versions of
Tcl over the last few months.  The new release supercedes the
pre-release versions and contains a number of bug fixes plus a few
additional features such as the "wm" command for dealing with window
managers.

The release is available for public FTP from sprite.berkeley.edu
(Internet address 128.32.150.27).  To retrieve the release, use
anonymous FTP to sprite (user "anonymous", password "guest") and
retrieve the file "tk.tar.Z" with the following set of commands:
                type image (try "type binary" if this command is rejected)
                get tk.tar.Z
What you'll get is a compressed tar file;  to get back the original
directory hierarchy, type the commands
                uncompress tk.tar.Z
                tar xf tk.tar
This will create a tk subdirectory with all the source files and
documentation.  There will be a README file in the subdirectory that
tells how to compile Tk and gives some hints about how to get started
with Tk.

If you can't get access to the release via the Internet, send me e-mail
and I'll try to find some other way to get the release to you (e.g.
1/2" tape or Exabyte-style 8mm videocassette).

I've also set up a mailing list for people interested in exchanging
e-mail about Tcl and Tk.  If you're interested in joining the list,
let me know.
------------------------------------------------
To subscribe to the mailing list, send a request to
tcl-admin at sprite.berkeley.edu.

-- 
Mark Harrison           | Note: harrison at ssd.dl.nec.com and
harrison at csl.dl.nec.com | necssd!harrison are not operating at
(214)518-5050           | present.  Please forward mail through the
                        | above address.  Sorry for the inconvenience.



More information about the Comp.lang.c mailing list