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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leo Carbajal
Sent: Thursday, October 02, 2008 1:10 PM
To: Users@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
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to