On 04/24/2012 12:57 PM, Stéphane Ducasse wrote:
Ok I will have a look. Because it would solve our problem.
I just added first stab at supporting literal arrays, the following works:
(TiradeParser parse: 'keyword: #(1 3.4 ''asd'' #jupp 2).') last value
first print it =>
#(1 3.4 'asd' #jupp 2)
The "last value first" is just because the result from TiradeParser
contains Associations between the keyword and an array of arguments. It
could in fact return instances of Message, that might be nice :)
...but nesting needs a bit more thought since one can ommit the # when
nesting literal arrays inside literal arrays.
regards, Göran