Category:Tcl: Difference between revisions
Content added Content deleted
m (→Language Value Model: expanded sentence about type constraints) |
(Work towards making this page more informative) |
||
Line 27: | Line 27: | ||
:''“I got the idea for Tcl while on sabbatical leave at DEC's Western Research Laboratory in the fall of 1987. I started actually implementing it when I got back to Berkeley in the spring of 1988; by summer of that year it was in use in some internal applications of ours, but there was no Tk. The first external releases of Tcl were in 1989, I believe. I started implementing Tk in 1989, and the first release of Tk was in 1991.”'' |
:''“I got the idea for Tcl while on sabbatical leave at DEC's Western Research Laboratory in the fall of 1987. I started actually implementing it when I got back to Berkeley in the spring of 1988; by summer of that year it was in use in some internal applications of ours, but there was no Tk. The first external releases of Tcl were in 1989, I believe. I started implementing Tk in 1989, and the first release of Tk was in 1991.”'' |
||
The principal pre-built distributions of Tcl are all based on [[libtcl]]; the main ones are [http://www.activestate.com/activetcl/ ActiveTcl] from ActiveState, and [[tclkit]] from Equi4 Software ''et al''. Older versions of the language are distributed as part of Apple's OSX and all Linux distributions. |
|||
⚫ | |||
==Language Syntax== |
|||
⚫ | |||
Note that this is a simplified language grammar, and it is normal to think of the language at a higher level where these differences don't show. |
Note that this is a simplified language grammar, and it is normal to think of the language at a higher level where these differences don't show. |
||
<br clear=all> |
<br clear=all> |
||
Line 43: | Line 46: | ||
'''|''' “''\\''” escapeSequence charSubsts''?'' |
'''|''' “''\\''” escapeSequence charSubsts''?'' |
||
'''|''' ordinaryChar charSubsts''?'' |
'''|''' ordinaryChar charSubsts''?'' |
||
==Language |
==Language Semantics== |
||
===Value Model=== |
|||
Tcl's value model operates on two levels. |
Tcl's value model operates on two levels. |
||
* Classically, it is defined purely on unmodifiable strings over a language of unencoded [[UNICODE]] characters. |
* Classically, it is defined purely on unmodifiable strings over a language of unencoded [[UNICODE]] characters. |