Creating an Atom Plugin with Elm

github.com/mbylstra

Michael Bylstra

Elm is the ideal language
to write tooling for

simple syntax

100% type information

simple semantics

zero cruft

meaningful
​types

General Inspiration

the time-travelling debugger (obviously)

elm-format

elm-analyse

create-elm-app

elm-light-table

 

 

*AKA extensions / plugins

language-elm

linter-elm-make

elmjutsu

 

 

Great Atom Packages*

now

 

future

 

Tooling Potential

now

 

future

 

Write plugins with standard web tech
 

Easy to get started

Packages        Package Generator       Generate Atom Package

JAVASCRIPT ● CSS ● HTML

Anyone can do it!

If you can use JS,

and Elm compiles to JS 

 

Why not use Elm?

Why NOT use Elm?

needs build step

“ports‘’ sound annoying

can't use built-in Atom JS widgets

still need some JS

React 

Perfect Match?

Atom

+

=

Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs...

www.npmjs.com/package/react-for-atom
 

* might be fixed now?

*

elm

worth a shot!

+

=

atom

This is not a blank slide

The Elm side of JavaScript interop

The JavaScript side

Creating an Atom Plugin with Elm

By Michael

Creating an Atom Plugin with Elm

  • 905