renggli at gmail.com
Wed Dec 17 11:43:43 UTC 2008
We removed the parser for now, as it is internally not used.
The question for the future:
Is the SmaCC runtime working on GemStone, GST and Dolphin?
I know that SmaCC is well supported in Pharo, VAst and VW.
On Mon, Dec 15, 2008 at 8:30 PM, Philippe Marschall
<philippe.marschall at gmail.com> wrote:
> replaces the SmaCC generated parser with a hand written one. The most
> important difference (besides the eliminated dependency on SmaCC
> SmaCC generated parser accepted a lot of stuff that is valid
> relaxed in the way that it allows anything but a number to be the top
> level element (the standard allows only for Arrays and Dictionaries).
> Should that be a show stopper numbers could be added.
> differences in detail:
> - numbers can not be top level elements
> - doesn't support comments (not part of standard)
> - uses Array instead of OrderedCollection for arrays
> - allows only double quoted string literals (according to standard)
> - handles escape characters including Unicode escapes (doesn't reduce
> a surrogate pair to a single character)
> - treats \" as an escape for " instead of \" (according to standard)
> - is about four times faster in a certainly flawed and biased micro benchmark
> - tries to use descriptive error messages and throws non-SmaCC errors
>  http://json.org/
>  http://tools.ietf.org/html/rfc4627
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
More information about the seaside-dev