|
2005-10-20
| ||
| 09:20 | • Closed ticket [1230548fff]: Missing Docs for String Representation of List Eleme... artifact: 3b6aad069a user: sf-robot | |
|
2005-10-05
| ||
| 12:06 | • Pending ticket [1230548fff]. artifact: f55f692b48 user: dgp | |
| 11:00 | • Ticket [1230548fff]: 1 change artifact: 6bac6a246c user: hobbs | |
|
2005-07-01
| ||
| 04:42 | • Ticket [1230548fff]: 4 changes artifact: d322347ec0 user: mdiep | |
| 02:29 | • Ticket [1230548fff]: 4 changes artifact: 463950fe58 user: dgp | |
|
2005-06-30
| ||
| 19:10 | • New ticket [1230548fff]. artifact: 186aa3a600 user: mdiep | |
Missing Docs for String Representation of List Elements
Closed / Works For Me1230548fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-06-30 19:10:22
There is no documentation for how Tcl generates the string representation of list elements. When is an element brace-quoted? When are braces backslashed? From IRC: <dgp> IIRC, Tcl's string rep. production rules for a list element are: <dgp> 1) no quoting, if that's safe. <dgp> 2) Brace quoting, if no imbalance produced <dgp> 3) backslash quoting, otherwise. <dgp> that's it. No "mixed modes" produced. This should be documented somewhere.
dgpplain2005-07-01 02:29:43
Logged In: YES user_id=80530 I'm not convinced this needs documenting. Once we document a particular formatting choice, then we're frozen and unable to change it. Seems it should be enough information to know that whatever the format is, all the list operations work on it properly.
mdiepplain2005-07-01 04:42:17
Logged In: YES user_id=1302408 This is an issue for anyone trying to make an alternate Tcl implementation.
hobbs Ticket [1230548fff]: 1 change
[History diff]2005-10-05 11:00:42
dgpplain2005-10-05 12:06:58
Logged In: YES user_id=80530 Source code comments in Tcl_ScanCountedElement() spell things out pretty well. That seems to me to be the correct place for this documentation.
sf-robotplain2005-10-20 09:20:33
Logged In: YES user_id=1312539 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.