Skip to content
Tcl Source Code Changes To Parsing in detail
Login

Changes To Parsing in detail

Changes to "Parsing in detail" between 2016-06-25 19:12:52 and 2016-06-25 19:32:00

1
2
3
4
5
6
7
8

9
10
11
12
13

14
15
16
17
18
19
20

21
22
23








1


2


3







4



-
-
-
-
-
-
-
-
+
-
-

-
-
+
-
-
-
-
-
-
-
+
-
-
-
The first phase of any Tcl script evaluation is applying
Tcl's parsing rules for breaking the script into its
component parts.  Note that the interp is not an
input into the parsing operation.  No interp state
has any controlling effect on the way a Tcl script
is parsed.  The same string is always parsed into
the same tokens.

Deleted.
Inputs
====

  -  **Script:** a Unicode codepoint sequence of known length.

Got started on this, but then decided it wasn't
Outputs
=====
  - **Code:** integer value
  - **Result:**
  - **Parse tree** that partitions the input script into substrings
     that are the structural parts of the script.

so useful or helpful after all.
Steps
====
  1.  Comments