Artifact
0a106fc8349ac6eacf221a831b31bf63b678510f:
Wiki page
[Script evaluation in detail] by
dgp
2016-06-23 20:35:39.
D 2016-06-23T20:35:39.378
L Script\sevaluation\sin\sdetail
U dgp
W 660
The basics of Tcl script evaluation are not difficult to learn and
use effectively. Deep in the details there are some subtle and
tricky bits, as well as places where customization opportunities
exist that are not well known. This page aims to pick apart
the steps of Tcl script evaluation in fine detail.
Inputs:
* Script - a 'string', that is a finite sequence of Unicode codepoints.
* Interpreter - collection of state and contexts that influence evaluation.
Outputs:
* Return code - integer value.
* Result - Tcl value held in the interp.
* Return options - Tcl dictionary held in interp.
Steps:
# [Parsing in detail]
Z bb7c323c2af586c4f303c7e178ae7799