Le 05/02/2014 14:04, Stephan Eggermont a écrit :
I was looking at SmaCC and noticed the latest version
on Dolphin and VW seems to support GLR parsing.
What would be needed to make that work on Pharo (3/Moose5)?
Not much, the work is almost finished, I just told Alain Plantec and
Stéphane Ducasse they can try it.
Just load the development version of SmaCC on Pharo3 and you'll be able
to tell me if I missed a few things. It's hosted at:
https://github.com/ThierryGoubier/SmaCC
Loadable through:
Gofer new
url: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main';
configurationOf: 'SmaCC';
loadDevelopment
stable version loads the previous SmaCC.
What practical consequences might I expect if we
replace
a PetitParser based parser by a SmaCC one?
I believe that someone showed a while ago a significant speed difference
between a SmaCC generated parser and a PetitParser.
Beware: not everything works (not yet) and I may consider necessary to
do some tuning on it.
Regards,
Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95