Hi William,

On 18 Sep., 23:27, William Stein <[email protected]> wrote:
> You should look at interfaces/gap.py.  There's a function "eval" in
> there.  Just add your own hack at the top that opens some logfile and
> appends to it.

I tried to do it such that the value of input_line in the eval()
method is logged.

But apparently this does not suffice for getting a log that can be
executed in GAP. Namely, the line
  sage: gap('1+1')
yields the log
Print($sage1);

but it does not tell how $sage1 was defined.

So, what other methods (besides eval()) send commands to gap?

Best regards,
Simon
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to