elm-lang / elm-repl

A REPL for Elm
BSD 3-Clause "New" or "Revised" License
170 stars 34 forks source link

tooling support: socket repl #95

Open rundis opened 8 years ago

rundis commented 8 years ago

Several editors have integration with the repl as is, which is great. I've implemented an integration in Light Table (https://github.com/rundis/elm-light). However communication via stdin/stdout/stderr is somewhat limiting.

It would be great if it was possible to integrate with the repl through for example a tcp/ip socket. That way we could have a json api which would provide opportunities for much richer integrations I think. It would obviously also be nicer to work with than parsing string output from out/err as well. One concrete example is error-messages. With a json-api, errors might be returned in the same format as elm-make ?

aftnix commented 8 years ago

:+1: