Article View: comp.os.ms-windows.programmer.misc
Article #2135Re: Support for adding command language to my application
From: Ugo Cei
Date: Tue, 17 Nov 1992 20:24
Date: Tue, 17 Nov 1992 20:24
51 lines
2928 bytes
2928 bytes
tate@gobbler.slc.mentorg.com (Mike Tate) writes:
>I am developing an application to which I would like to add a
>command language which advanced users can utilize to configure
>and control the application. The command language should be
>accessable by both:
I would suggest that you get Tcl. From the comp.lang.tcl FAQ:
~Subject: -1- What is Tcl? Tk? Extended Tcl? How does Tcl compare
against language XXX?
Tcl (version 6.4) stands for ``tool command language'' and is
pronounced ``tickle.'' It is actually two things: a language and a
library. First, Tcl is a simple textual language, intended primarily
for issuing commands to interactive programs such as text editors,
debuggers, illustrators, and shells. It has a simple syntax and is
also programmable, so Tcl users can write command procedures to provide
more powerful commands than those in the built-in set.
Second, Tcl is a library package that can be embedded in
application programs. The Tcl library consists of a parser for the Tcl
language, routines to implement the Tcl built-in commands, and
procedures that allow each application to extend Tcl with additional
commands specific to that application. The application program
generates Tcl commands and passes them to the Tcl parser for
execution. Commands may be generated by reading characters from an
input source, or by associating command strings with elements of the
application's user interface, such as menu entries, buttons, or
keystrokes. When the Tcl library receives commands it parses them into
component fields and executes built-in commands directly. For commands
implemented by the application, Tcl calls back to the application to
execute the commands. In many cases commands will invoke recursive
invocations of the Tcl interpreter by passing in additional strings to
execute (procedures, looping commands, and conditional commands all
work in this way).
[...]
c. MS-DOS
Two ports are available. One unsupported port of Tcl and Extended
Tcl 6.0, done by "Karl Lehenbauer" <Karl@NeoSoft.com>, is available on
barkley.berkeley.edu.
The other port of TCL V6.2 was done by
"John Martin" <johnm@cajal.uoregon.edu> and is available via FTP from
cajal.uoregon.edu.
--
Ugo Cei --- Via Colombo 7 - 27100 Pavia - ITALY |
-- Sublink: ugo@oliver.sublink.org | "Real programs dump core"
Technical Details
Message-ID:
<1992Nov17.202426.16776@oliver.sublink.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!stanford.edu!rutgers!modus!systemy!oliver!ugoReferences:
<1992Nov13.173452.12704@caeco.mentorg.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!stanford.edu!rutgers!modus!systemy!oliver!ugo From: ugo@oliver.sublink.org (Ugo Cei) Newsgroups: comp.os.ms-windows.programmer.misc Subject: Re: Support for adding command language to my application Message-ID: <1992Nov17.202426.16776@oliver.sublink.org> Date: 17 Nov 92 20:24:26 GMT References: <1992Nov13.173452.12704@caeco.mentorg.com> Organization: Oliver System - Pavia ITALY Lines: 51