Update of ”Script evaluation in detail”
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 06dbd86126f99a9dad6d8d02a409eb463cb1421c
Page Name:Script evaluation in detail
Date: 2016-06-25 17:54:09
Original User: dgp
Mimetype:text/x-markdown
Parent: 0a106fc8349ac6eacf221a831b31bf63b678510f (diff)
Next 848aebeb344a3dbd980e8b7aef259bebe5982d99
Content

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]