Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 4dfd7458e2002b8749b2f5f635297c02746e91df
Ticket: f9c3463120117afc9c86cbfe2d57da81dbc942e4
Proposal syntax for list
User & Date: dgp 2016-08-29 21:35:02
Changes

  1. icomment:
    
    To be clear, you are not proposing a change to
    list syntax.  You are proposing that a newline
    cease being a command terminator in Tcl
    script syntax.  The remaining option would be
    a semi-colon, I suppose, but I can offer little
    hope this bridge would ever be crossed.
    
    The good news is you can already have almost
    what you want without changing any of Tcl's
    syntax rules at all:
    
    set big_data_strucutre [dict {*}"
                              key1 value1
                              key2 value2
                              key3 [list item1 item2 item3]
                              key4 value4
                              key5 [list item1 [list item21 item22]]
                              key6 value6"]
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. resolution changed to: "Rejected"
  5. status changed to: "Pending"