marc136 / elm.run

https://elm.run
6 stars 0 forks source link

README elm.run

This repository contains the source for https://elm.run (and some binary files).

Word of caution: This repo is not cleaned up. It contains a lot of abandoned or postponed explorations that I don't want to delete yet. If I make enough progress for a sane public release, I will also clean it up properly for the public.

The relevant directories are:

  1. ./repl/ contains code for https://elm.run/repl
  2. ./compiler/marc136/ contains my own code to build the Elm compiler as a WASM module. It directly uses the Elm compiler's source code, and only contains a few wasm-specific files. I intend to split the compiler and the repl into two builds to reduce the file size of the repl.wasm (to more easily use it in the tour).
  3. ./www/dist/ is deployed to https://elm.run/

The rest are experimentation files that most likely noone else will find useful. There might also be vital files missing because of my .gitignore rules.

Some files might contain references to other experiments, my ulm compiler fork will not be open sourced because I think it makes more sense to invest time into elm-dev, zokka or lamdera.

Running Elm compiler in the browser

There are currently three different compilers that I am investigating for compiling Elm code in the browser. See ./compiler.