[Pharo-project] non-interactive compiling with feedback
camillobruni at gmail.com
Sun Mar 18 18:21:29 EDT 2012
generally if you compile source-code you will get a more or less descriptive error you can handle:
[ myClass compile: 'foo;' ] on: Error do: [ :err| "handle the error" self halt ].
most of the time you will get a SyntaxErrorNotification.
On 2012-03-17, at 13:08, Milan Mimica wrote:
> i want to add some scripting capabilities to my app, and I wand to use plain smalltalk for that. The only problem is that I still haven't found a way to generate a compiled which would return a string describing a problem in case a syntax errors. Can I get some help?
> Milan Mimica
More information about the Pharo-dev