Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I care about unlikely, but still possible case, when Elixir tools like compiler and libraries, stopped to be supported, while standard Erlang VM and tools continue to evolve.

Hope to give it a try for smaller project.



Today you can compile Elixir source code using --debug-info as an option. Then you would be able to retrieve the abstract format from beam files and write your own code that converts abstract format to erlang source. It is definitely doable and I wouldn't be surprised if someone already did it.


There is no easy way around the chance that some project dies. While José and I pointed that it is quite easy to convert the AST produced by Elixir back to Erlang source (erl_pp?), it might not be the best workaround for the unlikely death of the project. Death doesn't meant the compiler stops compiling :)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: