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

Standalone code generator #3

Open
5 tasks
chrrasmussen opened this issue Aug 30, 2020 · 0 comments
Open
5 tasks

Standalone code generator #3

chrrasmussen opened this issue Aug 30, 2020 · 0 comments

Comments

@chrrasmussen
Copy link
Owner

The Erlang code generator include some changes to the Idris 2 compiler that need to be removed or upstreamed in order for the code generator to become standalone.

The biggest changes are:

  • Separate compilation
    • The current solution is very hacky, so I think it needs some improving before upstreaming.
    • Upstreaming also means solving separate compilation for the Scheme and JavaScript code generators.
  • Prelude.Types.unpack's current implementation require a string type of fixed-size encoding.
  • %cg directives include the namespace they are located in.
  • Added a new directory type (Package Directories), which lists directories to search for packages (prelude, base etc.)
  • Added more CLI options that are allowed to pass through the package options.
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

1 participant