[Seaside-dev] Javascript-Core-lr.22

Philippe Marschall philippe.marschall at gmail.com
Sun Dec 14 09:50:05 UTC 2008


2008/12/14, Lukas Renggli <renggli at gmail.com>:
> On 12/13/08, Philippe Marschall <philippe.marschall at gmail.com> wrote:
>> 2008/12/13, Lukas Renggli <renggli at gmail.com>:
>>> Actually the JSON parser is not really used at the moment, it is more
>>> of an experiment to make the event handling simpler. The idea would be
>>> to enable the possiblity to pass back objects to the server.
>>>
>>>> Is it clever to add the dependency to SmaCC? This means that every
>>>> production image has to have a compatible version of SmaCC loaded
>>>> which also has to be ported. I mean we talk about people who would
>>>> never, ever load an XML parser into their image. And writing a JSON
>>>> parser is not exactly hard.
>>>
>>> Yeah. Writing a JSON parser is simple, if you consider the
>>> incompatible streaming methods easy to handle (#upTo:, #upToAll:,
>>> #match:).
>>
>> Well don't send them then. Seriously inlining them in terms of #to:do:
>> is really simple.
>
> No. Have a look at the length of their implementation and the number
> of bugs that have been submitted in the past years.

I'll have to write one myself then.

Cheers
Philippe


More information about the seaside-dev mailing list