# Elm Compiler in Elm - REPL on Mobile

**URL:** <https://discourse.elm-lang.org/t/elm-compiler-in-elm-repl-on-mobile/10197>\
**Category:** Show and Tell\
**Created:** [March 23, 2025, 2:24pm UTC](https://discourse.elm-lang.org/t/elm-compiler-in-elm-repl-on-mobile/10197 "2025-03-23T14:24:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pit](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/pit/32/5389_2.png) [@pit](https://discourse.elm-lang.org/u/pit)\
**Post date:** [March 23, 2025, 2:24pm UTC](https://discourse.elm-lang.org/t/elm-compiler-in-elm-repl-on-mobile/10197/1 "2025-03-23T14:24:31Z")

</div>

Recently I split the repository with my port of the Elm compiler into the following three repositories:

- [elm-compiler-in-elm](https://github.com/pithub/elm-compiler-in-elm): contains only the compiler backend, but no UI
- [elm-compiler-in-elm-ui](https://github.com/pithub/elm-compiler-in-elm-ui): adds a simple `elm reactor` -like user interface (the same as before)
- [elm-repl-worker](https://github.com/pithub/elm-repl-worker): an Elm `Platform.worker` that runs `elm repl` internally

The REPL worker is kind of new. It allows you to integrate the Elm REPL into your Elm app. You send the user’s input to the worker via one port and get the REPL’s response back via another port. The repository contains a simple Elm app to test it:

→ [Live demo](https://pithub.github.io/elm-repl-worker/eager-tea.html)

After you have loaded the entry page, you no longer need an internet connection. It even runs on my wife’s old Android 7 phone, but it’s a bit slow there…

I’m aware that documentation is almost non-existent 🙁 I’ll be happy to answer questions in Elm Slack, Discord, or Discourse and hopefully add them to the documentation in the appropriate repository.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [April 2, 2025, 2:25pm UTC](https://discourse.elm-lang.org/t/elm-compiler-in-elm-repl-on-mobile/10197/2 "2025-04-02T14:25:17Z")

</div>

Closed on April 2, 2025, 2:25pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
