On Sat, Aug 29, 2009 at 10:15 AM, Simon King <simon.k...@nuigalway.ie>wrote:

>
> Hi William,
>
> On Aug 29, 5:52 pm, William Stein <wst...@gmail.com> wrote:
> [...]
> > Can you post a version where I can actually paste in the code?   You
> > probably have this in a file somewhere without the sage: and ... prompts.
>
> Is it possible to change the preparser, so that it not only "swallows"
> the sage prompt, but also the ....: prompt? It would be very nice if
> one could paste in the code as it appears on screen. This would also
> be very helpful for doc tests -- it took me a long time until I found
> out how to use "for" and "while" in doc tests.


Yes, it should be possible.  Great idea!   Robert Bradshaw would be the
canonical person to do it, since I believe he wrote the current version of
the preparser, and is brilliant at parsin' stuff.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to