On 10/21/2012 08:23 PM, Dale Henrichs wrote:
Sven,
I'm not asking about the parser for the literal array but the parser to parse the literal array itself, but I think you've answered my question (indirectly:)
The original reason for going with JSON 9 months ago was that since GemStone does not have a accessible parser for Smalltalk syntax, I need to choose an export format for "objects" that included a portable parser for the syntax ...
Presumably your implementation assumes the existence of a Smalltalk literal parser (I think that is what I was able to glean from Igor's mails) in which case I won't be able to use it (even if I thought it was usable from a readability standpoint:).
Dale
I am sounding like a broken record - but Tirade includes a hand coded object literal parser which is fast. All of Tirade is 500 lines. But yes, it does reuse (IIRC) the parser for literal numbers, so you would need to implement/port that one... ;) regards, Göran