ThoML
2/5/2009 10:00:00 PM
> Second, I am unable to just get the last line from maxima without
> running "8.times {max.gets}." If i try to execute "max.gets" after
> maxima has reached the last line, I get an error (and no return to
> ruby). While i can get around this problem, (via 8.times ) it isn't
> exactly best practices.
AFAIK the maxima gui itself passes the code on to an inferior lisp
process that does the actual work. I don't know how much work that
would be to implement that protocol but maybe looking at the gui's
source code would help to give you an idea of how to communicate with
maxima reliably.