Artifact [d15aaa7a8c]
Not logged in

Artifact d15aaa7a8c8e55eec87e5fb95ab398bba232178b:

Wiki page [Script evaluation in detail] by dgp 2016-06-25 18:31:10.
D 2016-06-25T18:31:10.492
L Script\sevaluation\sin\sdetail
N text/x-markdown
P 57325cfc55f2ef07c8f03a1a45c0af879b45860b
U dgp
W 802
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.
    * *NOTE:* The string is finite. Has known length. The End Of String (EOS) is known.
  -  **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](/tcl/wiki?name=Parsing+in+detail)
Z 085a5cc4e0bf70f72160d746231c8d03