Re: flowscript save-on-back

2002-12-05 Thread Ovidiu Predescu
On Thursday, Dec 5, 2002, at 03:21 US/Pacific, Daniel Fagerstrom wrote: Christopher Oliver wrote: Ovidiu, I think the below would also work, without changing system.js or any Java code by using Rhino with continuations extended JavaScript syntax: [code snippet removed] Interesting!! Could

Re: flowscript save-on-back

2002-12-05 Thread Christopher Oliver
Hi Daniel Daniel Fagerstrom wrote: Interesting!! Could you tell a litle bit more about how this construct works? What corresponds to the try block in ordinary exception handling There is no corresponding try block in this case. See section 2.2 in http://marc.theaimsgroup.com/?l=xml-cocoon-de

Re: flowscript save-on-back

2002-12-05 Thread Daniel Fagerstrom
Christopher Oliver wrote: Ovidiu, I think the below would also work, without changing system.js or any Java code by using Rhino with continuations extended JavaScript syntax: catch (continue) { // The continuation I'm part of is about to be restored // code to handle that goes here. } catch (

Re: flowscript save-on-back

2002-12-04 Thread Ovidiu Predescu
On Wednesday, Dec 4, 2002, at 22:50 US/Pacific, Christopher Oliver wrote: Ovidiu, I think the below would also work, without changing system.js or any Java code by using Rhino with continuations extended JavaScript > syntax: catch (continue) { // The continuation I'm part of is about to be

Re: flowscript save-on-back

2002-12-04 Thread Christopher Oliver
Ovidiu, I think the below would also work, without changing system.js or any Java code by using Rhino with continuations extended JavaScript syntax: catch (continue) { // The continuation I'm part of is about to be restored // code to handle that goes here. } catch (break) { // I'm about

Re: flowscript save-on-back

2002-12-02 Thread Ovidiu Predescu
Hi Torsten, [Cc-ed Daniel and [EMAIL PROTECTED] as it might be an interesting topic as well] Sorry it took so long for me to find some more time to think about this problem. I believe the use case you mentioned is certainly a valid one, and a very important one. One way to solve this problem