Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the abstract erlang frontend to liblumen_eir_interpreter #3

Open
hansihe opened this issue Jan 23, 2020 · 1 comment
Assignees

Comments

@hansihe
Copy link
Member

hansihe commented Jan 23, 2020

Part of our strategy for supporting elixir is by using the mix compiler located in lumen_elixir (abstr_out branch).

The format this emits is abstract erlang (.abstr), different from the regular erlang code used by the normal frontend (.erl).

In libeir_syntax_erl there is a separate frontend for parsing and lowering .abstr files into eir.

This issue is for adding support for .abstr files to the CLI for liblumen_eir_interpreter, presumably checking the extension of the file, and calling the regular frontend for .erl files and the abstract erlang frontend for .abstr files.

Right now, handling of .erl files is done here in liblumen_eir_interpreter.

Feel free to contact me for mentoring.

@lawik
Copy link

lawik commented Jan 23, 2020

I'll take a crack at it :)

@bitwalker bitwalker transferred this issue from GetFirefly/firefly Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants