+1
When you have a antrl grammar, smacc is really nice.
Stef
Le 14/8/16 à 22:31, Tudor Girba a écrit :
Hi,
PetitParser is a dynamic parser. SmaCC is a static parser. Both have their usages, and
the static parsers are significantly faster. The speed problem of PetitParser will likely
be significantly improved once we get the work of Jan on compiling parsers.
One thing that SmaCC comes with is an extensive library of parsers and ASTs (e.g.,
JavaScript, Java, Swift) and this is very valuable in the context of Moose.
Cheers,
Doru
> On Aug 14, 2016, at 10:04 PM, Alexandre Bergel <alexandre.bergel(a)me.com>
wrote:
>
> Thanks Doru.
>
> Just wondering, I always had in mind that PetitParser is a kind of ultimate framework
for parsing. Why would one want to use SmaCC if PetitParser is so robust and popular?
>
> Cheers,
> Alexandre
>
>> On Aug 12, 2016, at 3:41 PM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
>>
>> Hi,
>>
>> John Brant created a repo on SmalltalkHub with the latest version of SmaCC.
>>
>> And now, SmaCC is part of Moose 6.0.
>>
>> Cheers,
>> Doru
>>
>>
>>
>> --
>>
www.tudorgirba.com
>>
www.feenk.com
>>
>> "Value is always contextual."
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)list.inf.unibe.ch
>>
https://www.list.inf.unibe.ch/listinfo/moose-dev
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel
http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)list.inf.unibe.ch
>
https://www.list.inf.unibe.ch/listinfo/moose-dev
--
www.tudorgirba.com
www.feenk.com
"Problem solving efficiency grows with the abstractness level of problem
understanding."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev