Re: [Haskell] KDevelop & Haskell
Hi, my intention when writing the Haskell Plugin for KDevelop was mainly to increase the language's publicity, since KDevelop 3.0 is the most popular and mature IDE for Linux/Unix. I know that most of you prefer to use your favourite editor but the real audience are the C/C++/Java/Php/Python/SQL/... programmers who probably haven't heard much about Haskell yet and would like to give it a try. Things like a background parser that checks the syntax continuously can be implemented quite straightforward in KDevelop as soon as i've got a working C++ parser for Haskell. Syntax highlighting is provided by the Kate Plugin. A better integration of Hugs or GHCi is possible (via plugins). At the moment only the GHC plugin that allows the user to build and run the files in the project is implemented. regards, Peter --------- Original Message ----------- From: Gour Subject: Re: [Haskell] KDevelop & Haskell Date: Tue, 27 Jan 2004 02:26:43 -0800 Claus Reinke ([EMAIL PROTECTED]) wrote:
that's why it would be nice if the supported Haskell implementations we have would also offer the necessary API on top of which such enhanced IDE functionality could be implemented in everyone's editors of choice.
But I saw that haskell is in the the table of supported languages.
yes, and it is nice to see it advertised this way, but I just checked, and the support seems to be in its very early stages:
But, it's better than nothing :-)
it won't do everything (unless you do a little programming, or we get those APIs I keep mumbling about), but it will do a lot.
Do you have some pointer for discussion(s) about these APIs you're mumbling about?
set your editor as specified, start Hugs, type ":find foldl", enjoy. for extra marks, make your editor call out to Hugs, load the current module, and :find the identifier under the cursor. (or were you suggesting that most Hugs users are already aware of this feature and use it every day?)
At the moment (6th ch. of Thompson's Craft of FP) I'm still with Helium :-) but otherwise I was/am using ghc to compile e.g. darcs and other Haskell stuff.
This one is nice. Thank you.
why, thank you!-)
At the moment I'm compiling HaRE under MSYS/MinGW environment. Where can I report back?
Have you (maybe) tried KDevelop with kvim?
no, I was thinking of the recent Haskell-in-Haskell frontends, and of Simon M's work on providing an API for ghc to support a visual studio binding. The frontends, or the API once it has evolved, are just what one needs to provide programmers editors with Haskell-awareness.
http://www.haskell.org/communities/11-2003/html/report.html#sect5.2.3.1 http://www.haskell.org/communities/11-2003/html/report.html#sect5.3.3 http://www.haskell.org/communities/11-2003/html/report.html#sect6.5.5
Wow! It looks great. I definitely have to find out some more time in pursuing my learning of Haskell, since there is interesting development going on. (recently I've found few posts on Ruby list with the complain that "but ultimately lost interest because the discussions focused on a /much/ higher level than they do here on the Ruby list--arguments over language design, etc., with few mentions of using Haskell to do anything productive.", so I hope that something like Programatica Project can drastically change the situation and bring Haskell more tho the mainstream (despite the fact if this is the intention of the whole project :-) Thank you for enlighetning me about Programmatica. Sincerely, Gour
Peter Robinson (listener@thaldyron.com) wrote:
Hi, my intention when writing the Haskell Plugin for KDevelop was mainly to increase the language's publicity, since KDevelop 3.0 is the most popular and mature IDE for Linux/Unix. I know that most of you prefer to use your favourite editor but the real audience are the C/C++/Java/Php/Python/SQL/... programmers who probably haven't heard much about Haskell yet and would like to give it a try.
That's great. Although I have not tried it yet, I heard it's possible to embed vim in a new KDevelop, and Haskell plugin is definitely wonderful way to increase language's publicity.
Things like a background parser that checks the syntax continuously can be implemented quite straightforward in KDevelop as soon as i've got a working C++ parser for Haskell. Syntax highlighting is provided by the Kate Plugin.
When asked on KDevelop forum, I got the reply that Haskell plugin is not in active development, but it looks like you are still behind it, isn't it?
A better integration of Hugs or GHCi is possible (via plugins). At the moment only the GHC plugin that allows the user to build and run the files in the project is implemented.
When tried KDevelop rc1, I got the error that "language plugin is not found" and on KDevelop forum it is stated that it won't/isn't included in final release. So, can we expect new features in KDevelop's Haskell support? Sincerely, Gour -- Gour gour@mail.inet.hr Registered Linux User #278493
On Saturday 07 February 2004 20:46, Gour wrote:
When asked on KDevelop forum, I got the reply that Haskell plugin is not in active development, but it looks like you are still behind it, isn't it? The last update was made in September and I didn't have much time to work on it since then but I expect to have a working updated version at the latest by the end of February, it isn't really much work.
When tried KDevelop rc1, I got the error that "language plugin is not found" and on KDevelop forum it is stated that it won't/isn't included in final release. Well the plugin _is_ included in the 3.0 release (libkdevhaskellsupport.*) but it is deactivated due to stability reasons.
So, can we expect new features in KDevelop's Haskell support? You can expect the basic support working pretty soon more advanced features might take a little longer, any help is welcome.
regards, Peter
Sincerely, Gour
Peter Robinson (listener@thaldyron.com) wrote:
The last update was made in September and I didn't have much time to work on it since then but I expect to have a working updated version at the latest by the end of February, it isn't really much work.
I'm glad to hear that.
When tried KDevelop rc1, I got the error that "language plugin is not found" and on KDevelop forum it is stated that it won't/isn't included in final release. Well the plugin _is_ included in the 3.0 release (libkdevhaskellsupport.*) but it is deactivated due to stability reasons.
How it can be activated?
You can expect the basic support working pretty soon more advanced features might take a little longer, any help is welcome.
Great! Any idea if it would be possible to use HaRe refactorer with KVim embedded in KDevelop? Sincerely, Gour -- Gour gour@mail.inet.hr Registered Linux User #278493
On Monday 09 February 2004 16:19, Gour wrote:
Well the plugin _is_ included in the 3.0 release (libkdevhaskellsupport.*) but it is deactivated due to stability reasons.
How it can be activated? It can be activated by modifying a few Makefiles but i wouldn't try it at the moment since this version is _very_ obsolete and broken. As soon as there is a working patch i'll let you know.
Any idea if it would be possible to use HaRe refactorer with KVim embedded in KDevelop? I'm not familiar with HaRe but after reading that it can be accessed from Vim or Emacs i suppose this can be done by implementing a plugin.
Sincerely, Gour
participants (2)
-
Gour -
Peter Robinson