<div dir="ltr">Hello!<div><br></div><div>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.</div><div><br></div><div>In particular, the ide-backend-common[1] package builds with GHCJS! This is the package which defines the protocol types and serialization instances.</div><div><br></div><div>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].</div><div><br></div><div>I'm glad you're interested in this! I'm happy to help out with it!</div><div><br></div><div>-Michael</div><div><br></div><div>[1] <a href="https://github.com/fpco/ide-backend/tree/master/ide-backend-common">https://github.com/fpco/ide-backend/tree/master/ide-backend-common</a></div><div>[2] <a href="https://github.com/mgsloan/ide-backend-client/tree/soh">https://github.com/mgsloan/ide-backend-client/tree/soh</a></div><div>[3] <a href="https://github.com/fpco/ide-backend/tree/soh">https://github.com/fpco/ide-backend/tree/soh</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 13, 2015 at 8:16 AM, JP Moresmau <span dir="ltr"><<a href="mailto:jpmoresmau@gmail.com" target="_blank">jpmoresmau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, when the open sourcing of IDE-backend was announced (<a href="https://www.fpcomplete.com/blog/2015/03/announce-ide-backend" target="_blank">https://www.fpcomplete.com/blog/2015/03/announce-ide-backend</a>), one thing mentioned was Atom support, and indeed the home page for the client (<a href="https://github.com/chrisdone/ide-backend-client" target="_blank">https://github.com/chrisdone/ide-backend-client</a>) mentions Atom. But is there a project out there I can use that brings the two together? The ide-haskell (<a href="https://atom.io/packages/ide-haskell" target="_blank">https://atom.io/packages/ide-haskell</a>) Atom plugin still relies on ghc-mod as far as I can tell.<div><br></div><div>I saw edsko tutorial on writing Atom plugin in Haskell (<a href="http://edsko.net/2015/02/14/atom-haskell/" target="_blank">http://edsko.net/2015/02/14/atom-haskell/</a>), 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).</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>JP<br clear="all"><div><br></div>-- <br><div>JP Moresmau<br><a href="http://jpmoresmau.blogspot.com/" target="_blank">http://jpmoresmau.blogspot.com/</a></div>
</div></font></span></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>