Re: [IronPython] Syntax Checking

2008-10-02 Thread Dino Viehland
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

[IronPython] Syntax Checking

2008-10-02 Thread Leo Carbajal
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. ---