diff options
author | dgp <dgp@users.sourceforge.net> | 2013-07-18 20:27:01 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-07-18 20:27:01 (GMT) |
commit | 17ebc3cd20794e0246b5c6b5f86b128cf1e7b69b (patch) | |
tree | 054d9ea09ad9e162f640d47306181917d0f14df2 /doc | |
parent | 81a1a91361cc615d3e9bf5b9016bd12cd258aa8d (diff) | |
parent | 5e9e003379a72c3459d97b1931c3e8b8627541f8 (diff) | |
download | tcl-17ebc3cd20794e0246b5c6b5f86b128cf1e7b69b.zip tcl-17ebc3cd20794e0246b5c6b5f86b128cf1e7b69b.tar.gz tcl-17ebc3cd20794e0246b5c6b5f86b128cf1e7b69b.tar.bz2 |
Rewrite of the TclCompileScript() routine.
Primarily this breaks that large, rather convoluted routine into many
smaller more single-purpose routines for greater clarity. This also
permits more sharing of function components. Ensemble compiles now share
the same low level routines as top-level command compiles. This refactoring
should also have the benefit of easing merging between branches by better
locating patches according to what function or data structure they tweak.
Also in this checkin:
Minimized calls to Tcl_ResetResult() during compile.
Several commands compile their detected syntax errors into
bytecode that reports the syntax error.
Significant reform to the TIP 280 machinery, including elimination
of the litInfo hash table. Its function of finding the index
of a compiled command in a script from a pc value has been redone
using the codeDelta information already stored in ByteCode.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions