Building a Graphical IDE in Elm/Purescript (…) – Claudia Doppioslash (Lambda Days 2017) – YouTube


By Erlang Central | Published: March 13, 2017



Slides and more info

 

Functional Programming languages that compile to Javascript can be used to develop complex frontend projects successfully, while sparing yourself a lot of pain and obsessive test coverage.

In this deep dive into the Typed-FP-languages-targeting-Javascript ecosystem, I’ll show you how we used Elm to build a complex IDE for a visual PLC language for embedded hardware (Programmable Logic Controllers).

Our PLC programming language implementation gets compiled to BEAM files and runs in the Erlang VM.  That allows us to take advantage of Erlang’s distributed model, and through our custom websocket library the IDE can talk directly with a Cowboy handler running on the device, to get debugging information in realtime.

We’ll also cover our choice of framework when porting the IDE to Purescript, good and less good parts of the two languages, and how they relate to Haskell.

Talk objectives:

• Get an overview of Elm and Purescript

• Experience report after using Elm for a real life complex project with deadlines.

• Experience report of porting an Elm program to Purescript

Target audience:

• Frontend developers who are tired of Javascript

• Developers interested in typed Functional languages for the frontend

• Developers interested in Elm or Purescript