Gabriel Dos Reis <g...@cs.tamu.edu> writes:

[...]

| | > Also, I'll be attending the symbolic-numeric workshop at MSRI from
| | > Wednesday through Friday; anything I should me looking into (on a small
| | > windows machine) while I'm on the road?
| | >
| | 
| | When I call "parseAndEvalToStringEqNum" how do I catch a syntax error?
| 
| 
| There is no general exception handling mechanism in Spad -- yet.
| However, I'll try to think about a monadic version as stopgap a bit like
| the way we do it for possibly failing numeric operations.

Hi Arthur,

I forgot to give an update on this.  

I implemented exception handling in OpenAxiom a while ago (shortly after
I sent the message referenced above.)  More specifically, the exception
handling mechanism is implemented in the Spad compiler, the Boot
translator, but not in the interpreter yet.  So, you can throw an
catch exceptions in library codes.  But not in scripts yet.

Also, I need to modify the part of the interpretr (and compiler) parsers
written in Boot to enable catching syntax error as exceptions in
Spad code.   When done, I'll send a note along with a tutorial on
how to throw and catch exceptions in OpenAxiom.

-- Gaby

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to