A rebar plugin for compiling into Core Erlang
$ rebar3 compile
Add the plugin to your rebar config:
{plugins, [
{rebar3_to_core_plugin, {git, "https://github.com/ajfAfg/rebar3_to_core_plugin.git", {branch, "main"}}}
]}.
Then just call your plugin directly in an existing application:
$ rebar3 to_core
===> Fetching rebar3_to_core_plugin
===> Compiling rebar3_to_core_plugin
<Plugin Output>
This source code is released under the MIT License.