James G. Sack (jim) wrote:
> [EMAIL PROTECTED] wrote:
>> On Sun, Mar 30, 2008 at 12:53:10PM -0700, James G. Sack (jim) wrote:
>>> Maybe if you posted an outline or example conversation, you would get
>>> better answers?
>> I want to access a math app called Sage from another app.
>>
>> Here is what an interactive Sage session may look like...
>>
>> sage: 4+9
>> 13
>> sage: 2*(8+9)
>> 34
>> sage: integrate(x^2, x)
>> x^3/3
>> sage:
>>
>> ...etc.
> 
> 
> This does look like classic expect interface.
> 
> Are you writing python?
> I haven't used it, but, you might look at the pexpect module.
> 
> I think there are interfaces to everything -- tcl (of course), perl, c,
> java.
> 
> Have you looked at
>   http://en.wikipedia.org/wiki/Expect
>   http://expect.nist.gov/
> 
> Regards,
> ..jim
> 
>

Surely, you have been to sagemath.org, but have you looked around there
.. I found, for example
 http://sagemath.org/doc/html/tut/node57.html


Regards,
..jim


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to