Jump to content

Tcl/Tk: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
 
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Scripting language originally called '''Tool Command Language''' that unlike most other such languages is maintained and controlled by a single company that has a core version that is open source and sell more advanced versions as closed source commercial software. The convention is to call it Tcl rather than TCL.
[[Image:TclLogo1.gif|right]]
The main advantage of the Tcl/Tk system on OS/2 has been the Tk widget toolkit and portability on systems where REXX is not common.


Extremely [[REXX]] like in structure.
Tcl is the Tool Command Language and Tk is the windowing Toolkit for Tcl. Originally designed as a macro- and initialization-file language for people's applications, the example applications tclsh (Tcl Shell) and wish (Windowing Shell, Tk) are nowadays most often used to run complete, portable script-applications. Tcl/Tk is officially supported on Unix and the X Window System, Apple Macintosh and MS Windows; user-contributed ports exist for e.g. VMS and, of course, OS/2.


====Tk====
See also: [[Tk]]
Platform independent graphics library and engine
==A list of OS/2 ports of Tcl==


==OS/2 Implementations==
*[[PM Tcl/Tk]] - Open source


==A list of DOS ports of Tcl==
;Tcl related programmer's utilities
*
* [[Exuberant ctags]] - Creates index files out of Tcl source files - Open source
* [http://tcljava.sourceforge.net/docs/website/index.html Tcl Blend] - Allows writing Tcl extensions in [[Java]] - Open source


==A list of Tcl ports run under WinOS/2==
;Applications with a Tcl programming interface
* No longer supported, use last known version [http://tcl.activestate.com/ftp/tcl8_0/tcl80p2.exe Tcl8.0.2] or 7.6.2
* [[PostgreSQL]] - SQL relational database system - Open source
: Requires [[Win32s]].
==A list of Tcl implementations that run under Java==
*


==Publications==
;Editor support
* [[Boxer]] - Contributed, requires a separate download
* [[Elvis]] - Tcl syntax support included by default - Open source
* [[NEdit]] - XFree86 - Autoindent, autocomplete and syntax highlighting - Open source
 
==DOS Implementations==
* MSTCL - port of Tcl 7.3, Tk 4.0
* TinyTcl
 
;Editor support
* [[Boxer]] - Contributed, requires a separate download
* [[Elvis]] - Tcl syntax support included by default - Open source
 
===Win-OS/2===
* Last known version [ftp://ftp.tcl.tk/pub/tcl/tcl8_0/tcl80p2.exe Tcl8.0.2] or 7.6.2
: Requires [[Win32s]]
 
==Java implementations==
* [http://www.hecl.org/ HECL] - Not ment to be 100% compatible but close enough for porting - Open source
* [http://tcljava.sourceforge.net/docs/website/index.html JACL aka Tcl/Java] - Open source
* [https://jtcl-project.github.io/jtcl/ jTcl] - Open source


====Related articles====
;Editor support
* [[jEdit]] - Java based editor - Tcl and TK syntax highlighting built in


====Tutorials and other learning material====
==Publications==
*  
* Brent Welch: ''Practical Programming in Tcl and Tk'' - Prentice Hall 1995, ISBN 0-13-022028-0
* Mark Harrison; Michael McLennan: ''Effective Tcl/Tk Programming'' - Addison-Wesley 1998, ISBN 0-201-63474-0
* John K. Ousterhout: ''Tcl and the Tk Toolkit'' - Addison Wesley 2006, ISBN 978-0-321-33633-0


==Links==
==Links==
* [https://www.activestate.com/products/tcl/ ActiveState's Tcl page] - Info from the company behind Tcl
* http://www.tcl.tk
* http://www.tcl.tk
====USENET====
* [http://wiki.tcl.tk/1215 Tcl on Java Wiki]
* [news:comp.lang.tcl comp.lang.tcl] - Low volume group - Go to the [https://groups.google.com/forum/#!forum/comp.lang.tcl Google groups version] if your ISP does not offer USENET access or you are in any other way newsgroup challenged.
==Standards==
*


[[Category:Programming Languages]] [[Category:Tcl]]
[[Category:Tcl]]

Latest revision as of 21:10, 15 March 2020

The main advantage of the Tcl/Tk system on OS/2 has been the Tk widget toolkit and portability on systems where REXX is not common.

Tcl is the Tool Command Language and Tk is the windowing Toolkit for Tcl. Originally designed as a macro- and initialization-file language for people's applications, the example applications tclsh (Tcl Shell) and wish (Windowing Shell, Tk) are nowadays most often used to run complete, portable script-applications. Tcl/Tk is officially supported on Unix and the X Window System, Apple Macintosh and MS Windows; user-contributed ports exist for e.g. VMS and, of course, OS/2.

See also: Tk

OS/2 Implementations

Tcl related programmer's utilities
Applications with a Tcl programming interface
  • PostgreSQL - SQL relational database system - Open source
Editor support
  • Boxer - Contributed, requires a separate download
  • Elvis - Tcl syntax support included by default - Open source
  • NEdit - XFree86 - Autoindent, autocomplete and syntax highlighting - Open source

DOS Implementations

  • MSTCL - port of Tcl 7.3, Tk 4.0
  • TinyTcl
Editor support
  • Boxer - Contributed, requires a separate download
  • Elvis - Tcl syntax support included by default - Open source

Win-OS/2

Requires Win32s

Java implementations

  • HECL - Not ment to be 100% compatible but close enough for porting - Open source
  • JACL aka Tcl/Java - Open source
  • jTcl - Open source
Editor support
  • jEdit - Java based editor - Tcl and TK syntax highlighting built in

Publications

  • Brent Welch: Practical Programming in Tcl and Tk - Prentice Hall 1995, ISBN 0-13-022028-0
  • Mark Harrison; Michael McLennan: Effective Tcl/Tk Programming - Addison-Wesley 1998, ISBN 0-201-63474-0
  • John K. Ousterhout: Tcl and the Tk Toolkit - Addison Wesley 2006, ISBN 978-0-321-33633-0

Links