[EMAIL PROTECTED] wrote: > >> On Oct 21, 2006, at 8:04 AM, [EMAIL PROTECTED] wrote: >> >>> Tim, >>> >>> Here are the arguments I would give for stopping the script. >>> >> >> I agree. hopefully I did not give the wrong impression here: Miguel
Me too. I'm fine with the error handling in both the Jmol application and the JmolApplet (except for the missing line/column numbers :-) ). >> did a fine job of convincing me. :-) I think it *is* better that >> Jmol does not fail silently. I guess my concern is with the way Jmol >> tells me that it has failed (if you'll pardon the anthropomorphization). > > All scripts are checked in two passes. The first is at the "compiler" > level, when the script is turned into "tokens". Failure here is due to > improper quotation, parentheses, invalid command names, but that's about > it. The second is at the evaluation level. We just have to evaluate to > find some errors. My first approach (obviously?) was to look into the process flow implemented by Jmol and then write a wrapper to reuse those classes and methods. That is run the same tests as in the Jmol check on "compiler" level and evaluation level. But as i figured out this might be impossible right now. E.g. in "Eval.java" an instance of "Viewer" is required, IIUC. > I don't think it's feasible to change this. So let's > figure out how to work with what we have. [...] > I think the primary request here was for a non-applet solution. But if Indeed; my aim is to implement a java tool (syntax checker) that may run as a standalone (batch job / ant task) application as well as being inserted as a filtering component on the server side *and* uses the same tests as Jmol. Regards EJ -- Eike Jordan <[EMAIL PROTECTED]> | FIZ CHEMIE BERLIN | Franklin Str. 11 ------ ,__o | 10587 Berlin ------ _-\_<, | ------ (+)/'(+) | Tel. : 0049-30-39977 214 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

