[Haskell-cafe] IDE-backend + Atom editor
Michael Sloan
mgsloan at gmail.com
Thu May 14 06:25:41 UTC 2015
Hello!
I don't know if there's any code around integrating atom and ide-backend.
The new work-in-progress School of Haskell implementation directly uses
ide-backend-client. It turned out to not be very hard to get it working
with GHCJS and using websockets.
In particular, the ide-backend-common[1] package builds with GHCJS! This
is the package which defines the protocol types and serialization instances.
I needed to modify ide-backend-client a bit to allow me to use it with
websockets. Since atom is local, maybe ide-backend-client's default of
using stdin / stdout is fine. However, it might be helpful that my
ide-backend-client branch[2] makes it into a library and allows the caller
to specify actions for sending / receiving messages. The current state of
that branch also requires a special branch of ide-backend[3].
I'm glad you're interested in this! I'm happy to help out with it!
-Michael
[1] https://github.com/fpco/ide-backend/tree/master/ide-backend-common
[2] https://github.com/mgsloan/ide-backend-client/tree/soh
[3] https://github.com/fpco/ide-backend/tree/soh
On Wed, May 13, 2015 at 8:16 AM, JP Moresmau <jpmoresmau at gmail.com> wrote:
> Hello, when the open sourcing of IDE-backend was announced (
> https://www.fpcomplete.com/blog/2015/03/announce-ide-backend), one thing
> mentioned was Atom support, and indeed the home page for the client (
> https://github.com/chrisdone/ide-backend-client) mentions Atom. But is
> there a project out there I can use that brings the two together? The
> ide-haskell (https://atom.io/packages/ide-haskell) Atom plugin still
> relies on ghc-mod as far as I can tell.
>
> I saw edsko tutorial on writing Atom plugin in Haskell (
> http://edsko.net/2015/02/14/atom-haskell/), so it seem we are
> tentalizingly close to have Atom + Haskell implemented in Haskell, and I'd
> like to give it a go if there's anything available out there (and maybe
> help if needed).
>
> Thanks!
>
> JP
>
> --
> JP Moresmau
> http://jpmoresmau.blogspot.com/
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150513/4b08276a/attachment.html>
More information about the Haskell-Cafe
mailing list