[Haskell-cafe] Playing with GHC [was Arbitrary precision?]

Stefan O'Rear stefanor at cox.net
Sun May 6 17:07:34 EDT 2007


On Sun, May 06, 2007 at 10:02:55PM +0100, Andrew Coppin wrote:
> Anyway... long ramble over... Emacs isn't my operating system of choice. 
> I prefer to use SciTE (which is *just* a text editor - as in, it doesn't 
> also come with an integrated toaster and alarm clock). One SciTE window 
> open, one command prompt pointing at the source folder... seems to work 

How about a ghci prompt? You can reload using <colon> <ret>

> fairly well. Would be nice if SciTE would colourise Haskell syntax, but 
> since Haskell is so absurdly hard to parse, I guess that's asking a lot. ;-)

Indeed, it has never been done.  I'm not entirely convinced it's
decidable.  But that hasn't stopped anybody from writing parsers for
the commonly used subset of haskell!  Also, highlighting normally does
not require a full parser, just a lexer (which is easy).  (Beschers'
experimental Emacs mode actually highlights type errors...)

Stefan


More information about the Haskell-Cafe mailing list