-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atom plugin? #18
Comments
As far as I know, no-one has started on this. Feel free to start building it, that would be awesome! |
@CRogers Good luck on the endevor, you might want to check out https://github.com/lukexi/stack-ide-sublime, which is the plugin that is the furthest along at the moment from my testing. My wife just started getting into web dev, and I set her up with Atom. It would be great to see a plugin! |
Yes, I'm using stack-ide-sublime daily now (warts and all) since it's such a speed and simplicity improvement over SublimeHaskell — feel free to ask any questions! I tried to document it decently so I hope it's helpful in getting an Atom version going; everything's in https://github.com/lukexi/stack-ide-sublime/blob/master/stack-ide.py |
Aw, Sublime has one now? I really need to get around to writing the vim plugin... ;) |
I for one eagerly await a vim plugin ☺ On Mon, Jul 13, 2015, 6:54 PM Matt Parsons [email protected] wrote:
|
@CRogers vote +1. I'm willing to try it too. |
@lukexi @drwebb |
Btw, this is happening (insert |
Awesome! I'm really impressed with how well things work with GHCJS, so not that dubious of a decision. You may well end up with one of the largest atom plugins, though (in js size) :) Let me know if you have any stack-ide / GHCJS questions and I'll try to help out! I've got one unconventional idea for your effort, but it's up to you whether you want to try out this approach. The School of Haskell revamp uses the ace javascript editor. I got a bit tired of writing FFI definitions for it, and wanted something a bit less prone to errors. So in an evening or two I wrote the WIP version of ghcjs-from-typescript: https://github.com/fpco/ghcjs-from-typescript It generates some raw GHCJS FFI stuff from a slightly modified https://github.com/borisyankov/DefinitelyTyped/blob/master/ace/ace.d.ts . The tool is very incomplete. I pretty much hacked on it till it accepted the ace definition and spit out usable FFI declarations. I'd like to revisit the project, as it has the potential to give GHCJS reliable FFI bindings to many javascript packages. Here's the definition it's got for atom: https://github.com/borisyankov/DefinitelyTyped/blob/master/atom/atom.d.ts From a skim, I don't see anything too strange, so I bet the tool is pretty close to being able to generate code from this definition. |
I was considering the idea of the a typescript-def to ffi compiler. It's great to see that you've made some progress one already. It's something I've tried before (for Fay) a while back but turned out to be way more complicated that I was expected. I'm severely time limited for this project so tempted just to manually add the little ffi I need but if it gets tedious I might look at getting ghcjs-from-typescript to work with atom :) |
To the moon!!! ┗(°0°)┛ On Sat, Jul 18, 2015 at 1:46 PM, Callum Rogers [email protected]
|
Hello @CRogers, it's great to hear about that. Could you please explain a little bit your approaches for developing this plugin? I'm a beginner both at Haskell and Atom. After navigating rapidly the repo, it seems that
I'd like to understand why you've made such decisions. Thanks |
Regarding why I chose to do this in Haskell rather than coffeescript:
|
I was wondering if anyone had started an atom plugin for
stack ide
? It seems like you've set the groundwork with ghcjs support of the common project at least. If so, I'd love to help contribute. If not, I'd love to start building it.The text was updated successfully, but these errors were encountered: