[IronPython] Syntax Checking

Dino Viehland dinov at microsoft.com
Thu Oct 2 22:28:35 CEST 2008


In 2.0 you can call GetCodeProperties on a ScriptSource and it'll give you an indication of how the code is.  You can also call ScriptSource.Compile w/ an ErrorListener which can get more detailed information about the failures.

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Leo Carbajal
Sent: Thursday, October 02, 2008 1:10 PM
To: Users at lists.ironpython.com
Subject: [IronPython] Syntax Checking

Is there any way to check the syntax of a script without actually running the script? Akin to the way VStudio does the 'code smells' nowadays.

Of course, by 'any way' I'm probably asking if there's an 'easy way', but I'll take the hard way, too, if it's something I can figure out and re-use.

---
V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20081002/f8e30c6f/attachment.html>


More information about the Ironpython-users mailing list