Skip to content

How was compiling to Erlang implemented? #1317

Discussion options

You must be logged in to vote

The current Gleam compiler outputs Erlang source files and then calls the erlc Erlang compiler on them. It works well!

If your compiler is written in Erlang you could also consider using compiling to core Erlang, but this may be more challenging and I'm not convinced it has any particular advantages over compiling to regular Erlang code.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lunandd
Comment options

@lpil
Comment options

Answer selected by lunandd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants