Overview
| Artifact ID: | 1df2b2f22da3373d0b37bac026cdbcbc2b0e93a6 |
|---|---|
| Page Name: | List Parsing |
| Date: | 2014-09-11 16:31:49 |
| Original User: | dgp |
| Parent: | 9b156444d24502605be9c4d812bf4df2d7688fd5 (diff) |
| Next | 7cf77ef3f8250c2798719938d835008130f3d38b |
Content
Source Files
- portions of tclUtil.c
Public Interface
- Tcl_SplitList
- Tcl_Merge
- Tcl_ScanElement
- Tcl_ScanCountedElement
- Tcl_ConvertElement
- Tcl_ConvertCountedElement
Private Interface
- TclMaxListLength
- TclFindElement
- TclFindDictElement
- TclCopyAndCollapse
- TclScanElement
- TclConvertElement
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.
TIP 407 details the functioning and offers possible changes that might be considered.