Stéphane,
On 08 May 2012, at 22:59, Stéphane Ducasse wrote:
> Finally and I still did not get a clear answer: why there is a need for
> dictionary syntax to store method meta data.
(I still think we are all discussing different things, and I do understand your
point, and I myself don't want to force STON on anybody).
But a quick question then, since I know you also know Lisp.
Do you then see array literal syntax as s-expressions ?
So that dictionaries/maps are like Lisp plists ?
Dictionary new
at: #x put: 1;
at: #y put; 2;
yourself.
would then be encoded like
#( x 1 y 2 )
?
Eventually doing a
Dictionary newFromPairs:: #( x 1 y 2 )
?
It would certainly work, with the know limitation that one has to know or
understand the semantics upfront.
Sven