Overview
| Comment: | 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
1757fd6ebc43d0e9cde478a88258a7d3 |
| User & Date: | dgp on 2013-07-18 20:27:01.761 |
| Other Links: | manifest | tags |
Context
|
2013-10-21
| ||
| 22:59 | Merge to TCS rewrite merge point. check-in: 959a872065 user: dgp tags: dgp-stack-depth-tester | |
|
2013-07-23
| ||
| 09:27 | Add "testfork" test command. Not used in any test-case yet check-in: 48ebb48d02 user: jan.nijtmans tags: trunk | |
|
2013-07-20
| ||
| 04:54 | merge trunk. still have stack depth issues in [subst] syntax errors. check-in: df020c50d0 user: dgp tags: dgp-refactor | |
|
2013-07-18
| ||
| 20:27 | Rewrite of the TclCompileScript() routine. Primarily this breaks that large, rather convoluted rout... check-in: 1757fd6ebc user: dgp tags: trunk | |
| 18:25 | [assemble] compile syntax error into bytecode reporting syntax error message. closed check-in: fd39545639 user: dgp tags: dgp-tcs-rewrite | |
| 15:05 | [Bug 1c17fbba5d] Fix -errorinfo from syntax errors so that the error is not obscured. Instead highl... check-in: 91ed4186a8 user: dgp tags: trunk | |
Changes
Modified generic/tclAssembly.c
from [b5e252c24b]
to [d788a1fab9].
[diff]
Modified generic/tclBasic.c
from [6dcf2d945f]
to [3140e6991c].
[diff]
Modified generic/tclCompCmds.c
from [e6153c7a71]
to [e8e2476d21].
[diff]
Modified generic/tclCompCmdsGR.c
from [3d9a1902ee]
to [6b6cb7a23d].
[diff]
Modified generic/tclCompCmdsSZ.c
from [53959920e3]
to [3805ec834a].
[diff]
Modified generic/tclCompile.c
from [2ccf6cfcba]
to [9d93b86f31].
[diff]
Modified generic/tclCompile.h
from [bb047fcd96]
to [5d561014a9].
[diff]
Modified generic/tclEnsemble.c
from [ca81687ed0]
to [78026b2a5a].
[diff]
Modified generic/tclExecute.c
from [4ee58f2ecf]
to [2dbdcc6465].
[diff]
Modified generic/tclInt.h
from [62742d16aa]
to [0240c4a367].
[diff]