On 8/30/12 11:00 AM, John H Palmieri wrote:
Is it possible to turn off the preparser for a few lines when using
http://aleph.sagemath.org?


The easiest way to do that is to use eval() or exec or compile to evaluate your string: eval("type(1)") or exec "a=1"; type(a)

With aleph version 1: http://aleph1.sagemath.org/

you could get an advanced version that let you turn off "Sage mode", which basically turned off the preparser.

However, in aleph version 2, we dropped that because it seemed like it was not being used ever.

As for using something like the preparser function: preparser(false) works on the command line and in the notebook because you can evaluate it (changing the state of Sage), and then you can evaluate more code. With aleph, you only get one shot to evaluate your code (ignoring interacts...).

Does that help?

Thanks,

Jason


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to