RE: [Haskell-cafe] Re: Editors for Haskell

2006-06-09 Thread Simon Peyton-Jones
| -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of | Thiago Arrais | Sent: 08 June 2006 20:07 | To: haskell-cafe@haskell.org | Subject: Re: [Haskell-cafe] Re: Editors for Haskell | | Imam, | | On 6/8/06, Imam Tashdid ul Alam <[EMAIL PROTECTED]>

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-08 Thread Thiago Arrais
Imam, On 6/8/06, Imam Tashdid ul Alam <[EMAIL PROTECTED]> wrote: - about formatted error messages (I am sure you guys don't care), could someone build a light GHC front end that given a .hs/.lhs file produces two XML files with specified DTD, the parsed structure and the error messages? I wo

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-08 Thread Neil Mitchell
Hi - about formatted error messages (I am sure you guys don't care), could someone build a light GHC front end that given a .hs/.lhs file produces two XML files with specified DTD, the parsed structure and the error messages? the reason for choosing XML is that not only the Java people (includ

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-08 Thread Imam Tashdid ul Alam
hya this topic is hot, and I wonder why :s well, I've been thinking, the EclipseFP people have done more or less a fine job (I'm trying their "live" build, things feel natural). but the problem is, to build something like EclipseFP you have to know both Java and Haskell and on top of that you ha

RE: [Haskell-cafe] Re: Editors for Haskell

2006-06-08 Thread Simon Peyton-Jones
| > You probably know this, but your kind of application is a big reason | > that we now make GHC available as a library. (Just say 'import GHC'.) | > | > You shouldn't need to parse Haskell yourself: just call GHC's parser. | > You get back a syntax tree with very precise location information tha

[Haskell-cafe] Re: Editors for Haskell

2006-06-07 Thread Pete Kazmier
Pete Kazmier <[EMAIL PROTECTED]> writes: > As part of my learning experience, I think I want to see if I can > write a haskell pastebin that does proper syntax highlighting. > Someone in #haskell suggested that I use just a lexer because using a > parser is overkill. However, I can't make this as

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-07 Thread Malcolm Wallace
Pete Kazmier <[EMAIL PROTECTED]> wrote: > As part of my learning experience, I think I want to see if I can > write a haskell pastebin that does proper syntax highlighting. > Someone in #haskell suggested that I use just a lexer because using a > parser is overkill. However, I can't make this ass

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-07 Thread Neil Mitchell
Hi Pete As part of my learning experience, I think I want to see if I can write a haskell pastebin that does proper syntax highlighting. Someone in #haskell suggested that I use just a lexer because using a parser is overkill. However, I can't make this assessment until I see how to use the par

[Haskell-cafe] Re: Editors for Haskell

2006-06-07 Thread Pete Kazmier
"Simon Peyton-Jones" <[EMAIL PROTECTED]> writes: > You probably know this, but your kind of application is a big reason > that we now make GHC available as a library. (Just say 'import GHC'.) > > You shouldn't need to parse Haskell yourself: just call GHC's parser. > You get back a syntax tree

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-04 Thread Doaitse Swierstra
One might want to take a look at: http://www.cs.uu.nl/research/projects/proxima/ where we have built (a.o.) an editing environment for Helium programs (a subset of Haskell), Doaitse On 2006 jun 02, at 10:57, Brian Hulley wrote: Simon Marlow wrote: Malcolm Wallace wrote: "Brian Hul

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-02 Thread Brian Hulley
Simon Marlow wrote: Malcolm Wallace wrote: "Brian Hulley" <[EMAIL PROTECTED]> wrote: Thanks for pointing this out. Although there is still a problem with the fact that var, qvar, qcon etc is in the context free syntax instead of the lexical syntax so you could write: 2 `plus

[Haskell-cafe] Re: Editors for Haskell

2006-06-02 Thread Simon Marlow
Malcolm Wallace wrote: "Brian Hulley" <[EMAIL PROTECTED]> wrote: Thanks for pointing this out. Although there is still a problem with the fact that var, qvar, qcon etc is in the context free syntax instead of the lexical syntax so you could write: 2 `plus ` 4 (Pre

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-02 Thread Malcolm Wallace
"Brian Hulley" <[EMAIL PROTECTED]> wrote: > Thanks for pointing this out. Although there is still a problem with > the fact that var, qvar, qcon etc is in the context free syntax > instead of the lexical syntax so you could write: > > 2 `plus ` 4 > (Prelude.+ >

[Haskell-cafe] Re: Editors for Haskell

2006-06-01 Thread Brian Hulley
Thomas Hallgren wrote: Brian Hulley wrote: Another thing which causes difficulty is the use of qualified operators, and the fact that the qualification syntax is in the context free grammar instead of being kept in the lexical syntax (where I think it belongs). You are in luck, because accor

[Haskell-cafe] Re: Editors for Haskell

2006-05-31 Thread Thomas Hallgren
Brian Hulley wrote: Another thing which causes difficulty is the use of qualified operators, and the fact that the qualification syntax is in the context free grammar instead of being kept in the lexical syntax (where I think it belongs). You are in luck, because according to the Haskell 9

Re: [Haskell-cafe] Re: Editors for Haskell

2006-05-25 Thread Brian Hulley
Thomas Davie wrote: When working on Macs I've found SubEthaEdit to be by far the best Haskell editor, emailing the guy tends to have quite good results in terms of getting it free if you say you're involved in education. Although I do hope that some people choose to pay for the software so tha

Re: [Haskell-cafe] Re: Editors for Haskell

2006-05-25 Thread Thomas Davie
On May 25, 2006, at 6:14 PM, Jeremy O'Donoghue wrote: Hi Walt, I'm using Haskell (GHC and Hugs) on several different platforms. Windows, OS X and Linux systems. Assuming that you want your students to be able to use any of the above platforms, the only options I know of which work well on a

[Haskell-cafe] Re: Editors for Haskell

2006-05-25 Thread Jeremy O'Donoghue
Hi Walt, I'm using Haskell (GHC and Hugs) on several different platforms. Windows, OS X and Linux systems. Assuming that you want your students to be able to use any of the above platforms, the only options I know of which work well on all of the platforms are Emacsen, Vim, hIDE, Eclipse and J