Artifact
fc841e2dc99f0214f526e70e19ad8ffcd8af8504:
Wiki page
[Script evaluation in detail] by
dgp
2016-06-25 18:06:19.
D 2016-06-25T18:06:19.915
L Script\sevaluation\sin\sdetail
N text/x-markdown
P 848aebeb344a3dbd980e8b7aef259bebe5982d99
U dgp
W 709
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
=====
- **Code:** integer value.
- **Result:** Tcl value held in the interp.
- **Options:** Tcl dictionary held in interp.
Steps
====
1. [Parsing in detail](/wiki?name=Parsing+in+detail)
Z 6341c2f4b48e706bebc683829c0ea714