I understand the maintainability is the main reason for you to consider to compile to erlang ast, but now lfe is 10 years old, mature and has its own elegant and beauty(even compare to the classic erlang, prolog based syntax), I think more and more people would discover it and helping us to maintain the compatibly issue. Since the major version of OTP changes only once a year, we could have plenty of time to adapt to the changes.
BTW, I'm thinking about the using Webassembly, as an alternative backend to core erlang. It's widely available platform(browser, ios, android using webview or javascriptcore). Since Webassembly is a stack machine, it's should be easily generate code from core-erlang, and someone already made a forth version running on it. I think compile core-erlang to forth should be easier than full fledged erlang. And the coming features of webassembly make it even better target for LFE:
among them tailcall and GC support are nice. Using WAForth as complement to the LFE is very similar to write C as NIF for Erlang. I think this could make LFE popular since it cover both server and client side. Although there is already ElixirScript for the same purpose, but it's only compile to JS, not webassembly, and it doesn't even have receive
to build basic erlang concurrency.
So I vote for sticking with core-erlang, and find a way to keep it future proof with OTP(Although I'm very keen to help, but I'm not skillful enough to take this task) and propose to compile core-erlang to webassembly to promote LFE/Erlang to front end community
--
You received this message because you are subscribed to the Google Groups "Lisp Flavoured Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-erlang+unsub...@googlegroups.com.
To post to this group, send email to lisp-flavoured-erlang@googlegroups.com.
Visit this group at https://groups.google.com/group/lisp-flavoured-erlang.
For more options, visit https://groups.google.com/d/optout.