Feature: Add Elixir support (Wasm)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 50/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- elixir, typescript, wasm
- Área
- web-dev
Línea de trabajo
Start with LiveCodes' adding-languages checklist, then study how ruby-wasm and python-wasm are wired: the compiler factory, the lang specification file, the result-page runtime script, and the vendors entry. The work is not yet green-lit — the thread is 5 comments deep on day one and asks the maintainer to confirm the Elixir/AtomVM subset target, and the issue author intends to implement it, so confirm claimability before starting. Done means a lang-elixir-wasm specification runs standard-library Elixir offline, plus starter template, docs, and end-to-end tests per the checklist.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
There is currently no option to run Elixir code in LiveCodes. I searched existing issues and found no open request for Elixir support.
Suggested feature
I propose adding Elixir as a script language, targeting the latest stable release (v1.20).
The implementation would follow the existing Wasm runtime pattern used by ruby-wasm and python-wasm:
- Compiler factory as pass-through: async (code) => code
- Runtime script loaded in the result page with scriptType: text/elixir-wasm
- Runtime based on Popcorn / AtomVM, which compiles Elixir to WebAssembly and runs entirely offline in the browser. The public eval demo confirms client-side execution without a server.
Scope for the initial version would cover standard playground usage such as IO, Enum, pipes, and pattern matching. Full OTP features and frameworks such as Phoenix and LiveView would remain out of scope, consistent with AtomVM current subset limitations regarding file I/O, OS processes, and parts of the standard library.
Alternatives considered:
- Hologram: full-stack framework on top of Phoenix, not suitable for plain Elixir support.
- Server-side execution: rejected due to the client-side architecture requirement.
If the approach is approved, I will start with a proof of concept including lang-elixir-wasm specification, result page runner script, and vendors entry, then complete the remaining items from the adding-languages checklist including documentation, starter template, and end-to-end tests.
Please confirm whether the Elixir (Wasm) subset limitation is acceptable for the first version, or if a different compiler target is preferred.
Additional context
- Elixir v1.20 release notes: https://elixir-lang.org/blog/2026/06/03/elixir-v1-20-0-released/
- Elixir team article on browser portability: https://elixir-lang.org/blog/2025/08/18/interop-and-portability/
- Popcorn offline eval demo: https://popcorn.swmansion.com/demos/eval
- AtomVM WebAssembly support: https://github.com/atomvm/AtomVM
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.5k
- Forks
- 267
- Merge medio
- 7 h 47 min
- PR fusionados (30 d)
- 14
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de live-codes/livecodes
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
live-codes/livecodes#1079 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
live-codes/livecodes#1009 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Release a docker imageAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
live-codes/livecodes#1004 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
I18n: HungarianAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
live-codes/livecodes#980 · 6 comentarios ·
Los mantenedores suelen responder en 1 día
-
Feature: add typstAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
live-codes/livecodes#962 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de live-codes/livecodes
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
pending close triaging
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
anomalyco/opencode#62582 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
feature request
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
callstack/react-native-paper#5189 ·
Los mantenedores suelen responder en 1 día
-
Add: ESP 2 ROAbiertoapproved check:passed streams:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día