Hi,yes, that's perfectly fine!
However, calling it "a complete Ruby parser done with SmaCC" isbit too optimistic. It is not complete and never was. Ruby's quitechallenging with that respect (well, in many in fact :-)
If it's for analysis (i.e., you want to build FAMIX model and then analyse it),If I were you I'd just use a Ruby parser in Ruby (there are many), let it spit outsexprs and parse them in Smalltalk and make FAMIX model out of that.If you manage to fix the SmaCC parser, I;d be __very__ interested. Pleaselet me know.
Good luck!
Jan
On Fri, Jun 17, 2016 at 12:35 PM, Thierry Goubier <thierry.goubier@gmail.com> wrote:
Hi Serge,one could ask Jan Vrany about it :). Jan, is that Ok if someone reuse this code (as in adding a Ruby parser to the SmaCC collection) ?Thierry2016-06-17 12:18 GMT+02:00 Serge Stinckwich <serge.stinckwich@gmail.com>:I remember there was some interests here about analyzing Ruby programs
with MOOSE, and apparently there is a complete Ruby parser done with
SmaCC (Smalltalk/X version):
https://swing.fit.cvut.cz/projects/smallruby
Look inside the svn repository to find the code. I dunno the licence.
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