Bugs item #1448219, was opened at 2006-03-12 10:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1448219&group_id=23735
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 7
Submitted By: Matthias Radestock (mradestock)
Assigned to: Nobody/Anonymous (nobody)
Summary: unoptimisation blows up interpreter
Initial Comment:
SISC (1.13.0-alpha)
#;> (define my+ +)
#;> (define (f) (+ (begin (string) (my+))))
#;> (f)
0
#;> (define (my+ . args) (apply + args))
#;> (f)
Exception in thread "Thread-2"
sisc.exprs.fp.OptimismUnwarrantedException
at
sisc.exprs.fp.FixedAppExp_0.revert(FixedAppExp_0.java:99)
at
sisc.exprs.fp.FixedAppExp_0.revert(FixedAppExp_0.java:88)
at
sisc.exprs.fp.FixedAppExp_0.getValue(FixedAppExp_0.java:54)
at sisc.exprs.fp.FixedAppExp_0.eval(FixedAppExp_0.java:38)
at
sisc.interpreter.Interpreter.interpret(Interpreter.java:139)
at
sisc.interpreter.Interpreter.interpret(Interpreter.java:128)
at sisc.interpreter.Interpreter.eval(Interpreter.java:290)
at sisc.data.SchemeThread.run(SchemeThread.java:60)
at java.lang.Thread.run(Thread.java:595)
Process scheme finished
The problem here is that the optimistic my+ call is
executed not by its hosting expression - which would
have caught the exception and re-executed itself - but
by the ordinary interpreter loop.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1448219&group_id=23735
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
|