Hi Serge,

2016-07-29 14:38 GMT+02:00 Serge Stinckwich <serge.stinckwich@gmail.com>:
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.

When I see all the buzz around languages workbenches like Rascal:
https://www.youtube.com/watch?v=Ffx7VtEOSx4

with MOOSE+RB+SmaCC+Reflectivity+GTools we are close to these tools
(or even better).

SmaCC requires a bit of effort. It's not trendy in research like PetitParser is, so spending research student time on it (if I had any :() is costly. But for providing tools for business partners, it is very valuable: the parsers are fast and reliable.

Thierry

 

Regards,
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev