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 alexandre.bergel@me.com wrote:
Okay… I will check.
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Jun 13, 2016, at 3:24 PM, Stephan Eggermont stephan@stack.nl wrote:
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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev