On 5/27/06, Stavros Macrakis <macrakis at gmail.com> wrote:
> By "interactive integration", I assume you mean when it asks a question
> (that is not the only time it asks a question). There is no good solution
> to this right now. I suppose the quick-and-dirty version is to replace
> asksign with a function that throws an error. Perhaps more friendly
> would be to have it make arbitrary decisions and record them.
I've made an attempt, not entirely successful, to capture
asksign and askinteger queries (via throw/catch)
and construct an unevaluated conditional from them --
http://maxima.sourceforge.net/wiki/index.php/Noninteractive%20mode
As I recall, this code is susceptible to stack overflows.
I forget why; probably it's because it doesn't catch all of
the ways that ask-something can be invoked.
There are at least 3: asksign, askinteger, and a mechanism
peculiar to the integration code which records half-integer
values (iirc).
I should probably get back on this problem at some point.
Robert Dodier