What is Elixir written in?
The Elixir compiler is written in Elixir (documented). Its runtime is implemented in BEAM VM and Erlang (well-documented). Elixir uses a bootstrap chain from Erlang (documented). Elixir is self-hosting.
Relationship Graph
All directly connected languages. Click any node to navigate to its page.
Compiler Implementation
| Language | Confidence | Notes | Source |
|---|---|---|---|
| Elixir | 92% | Elixir compiler is self-hosting | Source |
Runtime Implementation
| Language | Confidence | Notes | Source |
|---|---|---|---|
| BEAM VM | 98% | Elixir runs on BEAM VM | Source |
| Erlang | 99% | Elixir runs on BEAM (Erlang VM) | Source |
Bootstrap Chain
| Language | Confidence | Notes | Source |
|---|---|---|---|
| Erlang | 92% | Elixir bootstrap compiler written in Erlang | Source |
Influenced By
- Erlang — Elixir runs on BEAM and uses Erlang semantics
- Ruby — Elixir syntax inspired by Ruby
- Python — Elixir influenced by Python's readability
- Scheme — Partial influence via macro system design
Frequently Asked Questions
What language is Elixir written in?
Elixir is primarily implemented in Erlang and Elixir and BEAM VM. See the implementation section above for details and source references.
What languages influenced Elixir?
Elixir was influenced by Scheme, Ruby, Erlang among others. See the influence section above for the full list.
Is Elixir self-hosting?
Yes, Elixir is self-hosting — its compiler can compile itself.
Evidence Sources
- https://en.wikipedia.org/wiki/Elixir_(programming_language)
- https://elixir-lang.org/
- https://elixir-lang.org/blog/2013/08/08/elixir-design-goals/
- https://github.com/elixir-lang/elixir