cqcallaw / newt

The newt programming language
GNU General Public License v3.0
12 stars 2 forks source link

Collection literals #11

Open cqcallaw opened 8 years ago

cqcallaw commented 8 years ago

Allow the value of an array, set, map, etc. to be defined literally in the source code

cqcallaw commented 8 years ago

Arrays syntax: [ item, item, item ] Set syntax: { item, item, item } Map syntax: { key:value, key:value, key:value }