On Fri, Sep 22, 2006 at 12:39:34PM -0400, Ian Zimmerman wrote:
If you do this at all, reuse the regular quotes, don't invent yet
another weird and wonderful lexical syntax. Haskell is already bad
enough that way, with \ used for lambda and so on. @ would be okay I
guess.
Why not just go the
I would also like to see these. I like the python syntax
stuff...
but really most anything will do.
the triple quote doesn't eat any usable syntax though and won't require
any special cases in the parser so I would much prefer something like
that.
John
--
John Meacham -
Ian If you do this at all, reuse the regular quotes, don't invent yet
Ian another weird and wonderful lexical syntax. Haskell is already bad
Ian enough that way, with \ used for lambda and so on. @ would be
Ian okay I guess.
John Why not just go the Python way and use ? That is, three
John
On Fri, Sep 22, 2006 at 09:30:50PM -0400, Ian Zimmerman wrote:
John Why not just go the Python way and use ? That is, three
John literal quotes at the beginning and end. After all, Python has
John lifted quite a few things from Haskell. Time to return the
John favor. ;-)
Because it
John python-mode actually handles Python syntax a lot better than
John haskell-mode handles Haskell syntax, particularly regarding
John indentation.
Automatic indentation is only one aspect of Emacs modes, and as far as I
am concerned not nearly the most important one.
Here's a quick test: put
On 22 Sep 2006 23:54:42 -0400, Ian Zimmerman [EMAIL PROTECTED] wrote:
Here's a quick test: put the cursor in front of a triple-quoted string,
then hit Control-Alt-F (forward-sexp). It should move just after the
whole string. Does it?
Any tool which assumes strings are delimited by a single
Alistair In order to produce one double-quote inside a double-quote
Alistair delimited string, many (most?) languages let you use two
Alistair adjacent double quotes. So a string starting with triple
Alistair double-quote would result in a string that has one double
Alistair quote as its first
On Fri, Sep 22, 2006 at 11:54:42PM -0400, Ian Zimmerman wrote:
John indentation.
Automatic indentation is only one aspect of Emacs modes, and as far as I
am concerned not nearly the most important one.
Here's a quick test: put the cursor in front of a triple-quoted string,
then hit
Hi
Any tool which assumes strings are delimited by a single front delimiter
and a single end delimiter, which they are in most reasonable languages,
will have trouble.
In current haskell any tool which assumes characters start and end
with a ' are also wrong, because you can have name' as a