[IronPython] Parsing scripts

Orestis Markou orestis at resolversystems.com
Thu Dec 4 11:45:17 CET 2008


I've written PySmell, but it does static analysis rather than dynamic. 
That means that it won't handle code that lives in dlls, but it will 
handle any scripts of your own.

I'll add support for dynamic analysis soon, though - it's easy to do.

Have a look at http://pypi.python.org/pypi/pysmell

Dino Viehland wrote:
> The closest we have to this currently is what the console does w/ live 
> objects.  I think you could also find some examples of this in 
> IronPython Studio (http://www.codeplex.com/IronPythonStudio) but there’s 
> nothing that’s too sophisticated right now.
> 
>  
> 
> *From:* users-bounces at lists.ironpython.com 
> [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Steve Baer
> *Sent:* Wednesday, December 03, 2008 4:46 PM
> *To:* Discussion of IronPython
> *Subject:* [IronPython] Parsing scripts
> 
>  
> 
> I would like to be able to add some sort of "intellisense" to a text 
> editor for IronPython scripts. Something along the lines of reporting 
> the available functions in a module after hitting a period.
> 
>  
> 
> import clr
> 
> clr. <- (show something here)
> 
>  
> 
> Are there utilities available in IronPython for analyzing a partial 
> script to figure this out and if so could you point me in the right 
> direction?
> 
>  
> 
> Thanks,
> 
> -Steve
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-- 
Orestis Markou
Software Engineer,
Resolver Systems Ltd.
orestis at resolversystems.com
+44 (0) 20 7253 6372




More information about the Ironpython-users mailing list