Hi!
Is there any effort in analyzing code in Moose? Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
On 13/06/16 15:20, Alexandre Bergel wrote:
> Is there any effort in analyzing code in Moose? I've seen some effort to adapt petitparser to deal with fixed spacing Stephan _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Okay…
I will check. Cheers, Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
There is a PPMiniPythonGrammar, which can extract structure elements (classes, methods, if-then-else, while, try-catch blocks, i.e. the ones using INDENT and DEDENT). The performance is not good in general, but can be much better when using PetitCompiler (http://scg.unibe.ch/research/petitcompiler).
Cheers, Jan On Mon, Jun 13, 2016 at 10:05 PM Alexandre Bergel <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Okay!
thanks! Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
In reply to this post by Alexandre Bergel-5
Hi Alexandre,
there is a full Python 2.7 parser in SmaCC [1], with an AST building code. What is missing is the FAMIX building code. Thierry [1] http://github.com/ThierryGoubier/SmaCC Le 13/06/2016 15:20, Alexandre Bergel a écrit : > Hi! > > Is there any effort in analyzing code in Moose? > > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.list.inf.unibe.ch/listinfo/moose-dev > _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Thanks!
Alexandre > On Jun 14, 2016, at 2:30 PM, Thierry Goubier <[hidden email]> wrote: > > Hi Alexandre, > > there is a full Python 2.7 parser in SmaCC [1], with an AST building code. What is missing is the FAMIX building code. > > Thierry > > [1] http://github.com/ThierryGoubier/SmaCC > > Le 13/06/2016 15:20, Alexandre Bergel a écrit : >> Hi! >> >> Is there any effort in analyzing code in Moose? >> >> Alexandre >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.list.inf.unibe.ch/listinfo/moose-dev >> > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.list.inf.unibe.ch/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Free forum by Nabble | Edit this page |