Le 29/7/16 à 14:38, Serge Stinckwich a écrit :
On Fri, Jul 29, 2016 at 2:23 PM, Thierry Goubier thierry.goubier@gmail.com wrote:
Hi Sven,
I'd put RB + SmaCC among the lot. But I consider that really non-trivial : the pattern language of RB (and the underlying pattern matching and unification algorithm) is top notch, and how SmaCC builds on RB to virtually generate code / optimise code / then compile is nothing short of amazing.
SmaCC comes with a pattern matching/unification algorithm over ASTs + auto-generation of AST code + visitor + tree equality + the equivalent of Flex/Bison(*) + a GUI in 11401 lines of code.
SmaCC deserves definitively more advertisements and should be added to MOOSE platform I think.
I asked John and he told me that we could use the material of his tutorial to produce docs and chapter. There is a chapter in the PharoInProgress waiting for reviews. I would like to add an example on how to parse tab based language.
When I see all the buzz around languages workbenches like Rascal: https://www.youtube.com/watch?v=Ffx7VtEOSx4
This is not the same Rascal has a pattern-matching and relationship queries.
with MOOSE+RB+SmaCC+Reflectivity+GTools we are close to these tools (or even better).
Regards,