On 8/30/12 11:26 AM, William Stein wrote:
On Thu, Aug 30, 2012 at 9:24 AM, Jason Grout
<[email protected]> wrote:
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.
Just out of curiosity, how did you deduce "it seemed like it was not
being used ever"?
Very anecdotedly---no one ever asked us about it!
I was hoping that people in numpy, scipy, and matplotlib communities
would take up the Sage cell server, so we built the sage mode switch to
cater to the broader python community. As far as I know, there has been
very little uptake of aleph outside of Sage. When we were prioritizing
features for aleph version 2, that was one of the very low priority
features, and was shoved off the bottom of the list when we ran out of
time over the summer.
The other reason for dropping the checkbox is that we'd like to do
things more generally than just a sage mode checkbox. Several people
have requested being able to set the evaluation system, and then turning
off Sage mode becomes just selecting the python mode.
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.