Skip to content
Tcl Source Code Update of ”List Parsing”
Login

Update of ”List Parsing”

Overview

Artifact ID: 048b13534ade9be53fe1013738b7e524e9d2ac4d
Page Name:List Parsing
Date: 2014-09-11 17:12:16
Original User: dgp
Parent: 7cf77ef3f8250c2798719938d835008130f3d38b (diff)
Content

Source Files

Public Interface

Private Interface

Directly Depends On Public Interface

Directly Depends On Private Interface of

Discussion

These are the utilities that manage the parsing and generation of string representations of Tcl list values. They are inherently limited to the int range for both total bytes in the string and total elements in the list. They also are written for the Modified UTF-8 encoding expected of string values in Tcl 8. Any changes to those assumption in Tcl 9 will require something new, either revisions to these routines, or development of new routines with broader capabilities while these persist as limited legacy support mechanisms.

The public dependence on Parsing and Evaluation and string Object Type is entirely in error reporting and could concievably be factored out if there appears some need for that.

TIP 407 details the functioning and offers possible changes that might be considered.