José and Robert: That does make a lot of sense. It's probably more
practical for languages like Go where a binary distribution is the norm,
less so for Elixir where building from source is more the norm.
Eric: Not yet. I'm still trying to fix some issues in erl2ex that I had to
hack around (gru
Rebar3 has the concept of "Checkout Dependencies"
(https://www.rebar3.org/docs/dependencies#checkout-dependencies) in which
the dependency is specified normally in your rebar.config (git repo, hex
package, etc.), but *if* you create a copy of that project in a _checkouts
directory, that copy wi
It would definitely make it more difficult to download the sources and
build a release. You would need quite a few pre-compiled modules to do
that. Now all you need is Erlang which you need anyway to run the system.
Robert
On Monday, 23 May 2016 10:34:52 UTC+2, José Valim wrote:
>
> A self-host
Is the code available publically? Would be cool to see! :)
On Monday, May 23, 2016 at 1:22:31 AM UTC-4, Daniel Azuma 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
Luke,
The only expressions that can change the scope are special forms.
Therefore, the solution is to look at the special forms and see where in
them a variable can be set. We have:
* left side of =
* left side of <- in with and for
* left side of -> in case:do, receive:do, try:catch:else, with:e
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é V
> It would probably be more interesting to add a File.position instead of
hiding the underlying behaviour.
My position on the topic is the same. Your solution to the problem is 3
lines of code. It doesn't seem to be a common use case either, so I don't
see the reasoning in adding it to Elixir. If