3 ms·
You may prefer alpaca[1] which is in the ML family and on the BEAM. Someone could target Core Erlang [2] or BEAM byte code directly and offer a pluggable fronte
by ch4s3 6y ago
You may prefer alpaca[1] which is in the ML family and on the BEAM. Someone could target Core Erlang [2] or BEAM byte code directly and offer a pluggable frontend for different syntax, Mix would almost allow that. I think it's just a huge lift to make happen and get everything to play nicely with BEAM semantics. But that's just like my opinion.
[1] https://github.com/alpaca-lang/alpaca https://github.com/alpaca-lang/alpaca
[2] https://blog.erlang.org/core-erlang-by-example/ https://blog.erlang.org/core-erlang-by-example/
- adenozine 6y agoRight, I see. I wasn't aware of Alpaca, that's quite cool. I've read a little bit about Elixir and about how it's basically a big box of macros and magic dust that goes down to simple, straight erlang in the end, if I had more time I'd love to dig into their compiler. Alpaca looks very neat, and ML is right up my alley. thanks again for showing this! I can admit I am no BEAM expert and it seems my thought offended the experts, but I just like the aesthetic of modularity played out to the logical conclusion of syntactic extensions unto intermediate forms.
- lpil 6y agoSadly Alpaca development has stopped. One of the reasons I started Gleam is that I was working on the Alpaca standard library and realised that the bugs I was reporting were not getting fixed.
- ch4s3 6y ago> I can admit I am no BEAM expert and it seems my thought offended the experts Who knows? I didn't find the musing particularly off putting. As Alpaca is apparently dead there's also LFE[1] and Hamler[2]. Most devs in the space stick to either Elixir or Erlang so ymmv. [1] https://github.com/lfe/lfe https://github.com/lfe/lfe [2] https://github.com/hamler-lang/hamler https://github.com/hamler-lang/hamler
- lpil 6y agoPurerl is another good one to look at. It's an alternative backend to the PureScript compiler, which is quite a popular language!