A self-hosted compiler is honestly very low priority. The benefits are very small compared to the complications required for bootstrapping the language, which would likely include keeping a list of precompiled modules in the source so we can bootstrap without having Elixir pre-installed.
*José Valim* www.plataformatec.com.br Skype: jv.ptec Founder and Director of R&D On Mon, May 23, 2016 at 7:20 AM, Daniel Azuma <[email protected]> wrote: > Hi all, > > I've been working off and on for a few months on an Erlang->Elixir > transpiler (mostly as an exercise for myself to learn Erlang semantics). I > recently had the idea of applying it to the Erlang code in the Elixir core, > creating a version of the Elixir compiler written completely in Elixir. > Long story short, there are some caveats in the build process and a few > bugs in the transpiler to work around, but today I finally got a proof of > concept working and passing the tests. > > So I was wondering whether the possibility of self-hosting the Elixir > compiler had been discussed before. My initial thoughts were that it's > often interesting to self-host; however, in this case all the core code > would have to remain written in a "bootstrap" style of Elixir without > access to the standard library, which might be awkward. But I was curious > what else might have been discussed and what people's thoughts were. > > Thanks, > Daniel > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/76F2675C-E59D-40C1-80F7-D057984781E9%40gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2B81D5CF%2BVLwyfhrVZ-iGoy%3DezG%2BRSc2ad6THxcR9YVWQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
