Re: [sage-devel] Preparser and continuation

2011-07-23 Thread Maarten Derickx
+1 to robert, the preparser should just behave like the python standard here. In regular python you can make your code multiline if the parser is expecting a closing ), } or ] If you don't have an unmatched [,{ or ( then you can also make it multiline by adding a \ Note that this behaviour als

Re: [sage-devel] Preparser and continuation

2011-07-22 Thread Robert Bradshaw
On Fri, Jul 22, 2011 at 3:32 PM, Rob Beezer wrote: > I'd like to spread the definition of a large multivariate symbolic > function across several input lines (because it will eventually end up > on a piece of paper - how quaint).  Here is a simple example you can > drop on a command line, or put i

[sage-devel] Preparser and continuation

2011-07-22 Thread Rob Beezer
I'd like to spread the definition of a large multivariate symbolic function across several input lines (because it will eventually end up on a piece of paper - how quaint). Here is a simple example you can drop on a command line, or put into a two-line cell in the notebook without the triple dots,