Hi everybody,
I just wanted to throw my two cents in because I'm working on
something similar to Daniel but a little bit different approach.[1]
I feel like Erlang is the the real heart of the Elixir system and I think
the sentiments that are expressed in this thread really show that. I
feel like there is a lot of flexibility that Elixir get's by having its
bootstrapping in Erlang, since features are introduced in Erlang's
otp first. It get's really when you are conceptually dealing with code
that is making the same code which I've had a bit experience with
keeping my code dogfoodable :) You might also introduce bugs
that go undetected and then fixing them is a pain since you are
using the same code to build everything.
This saying it maybe apt:
Everyone knows that debugging is twice as hard as writing a
program in the first place. So if you're as clever as you can be when
you write it, how will you ever debug it?
- Brian Kernighan
But that doesn't mean that the thought hasn't crossed my mind and
maybe an automatic version would be a nice experiment. But the
beauty is that Erlang is almost the same as Elixir under the hood,
almost :) It's not like Java to Clojure and Scala. An I think it's cool
that Erlang and LFE can do interesting things with Elixir. [1]
If I've read the source code of LFE correctly then lfe_trans has us
two already beat translating Erlang to LFE :) Maybe we should to
a vanilla Beam to anything. Maybe with Behaviours. Though the
problem I'm facing is mostly that it's just a lot of things to implement :)
Regards,
Olaf
[2] A cool project would be making automatic
binding for Elixir code with nice Erlang syntax.