home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3537 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  2.8 KB

  1. Path: 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
  2. From: ugo@oliver.sublink.org (Ugo Cei)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: Support for adding command language to my application
  5. Message-ID: <1992Nov17.202426.16776@oliver.sublink.org>
  6. Date: 17 Nov 92 20:24:26 GMT
  7. References: <1992Nov13.173452.12704@caeco.mentorg.com>
  8. Organization: Oliver System - Pavia ITALY
  9. Lines: 51
  10.  
  11. tate@gobbler.slc.mentorg.com (Mike Tate) writes:
  12.  
  13. >I am developing an application to which I would like to add a
  14. >command language which advanced users can utilize to configure
  15. >and control the application.  The command language should be
  16. >accessable by both:
  17.  
  18. I would suggest that you get Tcl. From the comp.lang.tcl FAQ:
  19.  
  20. ~Subject: -1- What is Tcl?  Tk?  Extended Tcl?  How does Tcl compare
  21.         against language XXX?
  22.  
  23.     Tcl (version 6.4) stands for ``tool command language'' and is
  24. pronounced ``tickle.'' It is actually two things: a language and a
  25. library.  First, Tcl is a simple textual language, intended primarily
  26. for issuing commands to interactive programs such as text editors,
  27. debuggers, illustrators, and shells.  It has a simple syntax and is
  28. also programmable, so Tcl users can write command procedures to provide
  29. more powerful commands than those in the built-in set.
  30.  
  31.     Second, Tcl is a library package that can be embedded in
  32. application programs.  The Tcl library consists of a parser for the Tcl
  33. language, routines to implement the Tcl built-in commands, and
  34. procedures that allow each application to extend Tcl with additional
  35. commands specific to that application.  The application program
  36. generates Tcl commands and passes them to the Tcl parser for
  37. execution.  Commands may be generated by reading characters from an
  38. input source, or by associating command strings with elements of the
  39. application's user interface, such as menu entries, buttons, or
  40. keystrokes.  When the Tcl library receives commands it parses them into
  41. component fields and executes built-in commands directly.  For commands
  42. implemented by the application, Tcl calls back to the application to
  43. execute the commands.  In many cases commands will invoke recursive
  44. invocations of the Tcl interpreter by passing in additional strings to
  45. execute (procedures, looping commands, and conditional commands all
  46. work in this way).
  47. [...]
  48.  
  49. c. MS-DOS
  50.  
  51.     Two ports are available.  One unsupported port of Tcl and Extended 
  52. Tcl 6.0, done by "Karl Lehenbauer" <Karl@NeoSoft.com>, is available on 
  53. barkley.berkeley.edu.
  54.  
  55.     The other port of TCL V6.2 was done by 
  56. "John Martin" <johnm@cajal.uoregon.edu> and is available via FTP from
  57. cajal.uoregon.edu.
  58.  
  59. -- 
  60. Ugo Cei --- Via Colombo 7 - 27100 Pavia - ITALY   |
  61.          -- Sublink:  ugo@oliver.sublink.org      | "Real programs dump core"
  62.