Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

olafura/beam_to_ex

BEAM to Elixir code

olafura/beam_to_ex.json
{
"createdAt": "2016-02-09T06:40:56Z",
"defaultBranch": "main",
"description": "BEAM to Elixir code",
"fullName": "olafura/beam_to_ex",
"homepage": null,
"language": "Elixir",
"name": "beam_to_ex",
"pushedAt": "2025-05-28T09:06:48Z",
"stargazersCount": 21,
"topics": [],
"updatedAt": "2025-07-09T06:22:42Z",
"url": "https://github.com/olafura/beam_to_ex"
}

[WIP] This a command line tool that takes a beam or erl file and converts it into elixir code. There are a lot of codes to be mapped but it works with basic examples.

This uses beam_to_ex_ast

mix deps.get

mix escript.build

Then you have new command to play with:

./beam_to_ex —beam beam_file.beam

./beam_to_ex —erl erlang_file.erl

If you just want to test it out try this:

mix run run.exs —beam beam_file.beam

mix run run.exs —erl erlang_file.erl