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

Implement New Type and Symbol Systems #30

Open
3 tasks
LPTK opened this issue Sep 30, 2017 · 0 comments
Open
3 tasks

Implement New Type and Symbol Systems #30

LPTK opened this issue Sep 30, 2017 · 0 comments

Comments

@LPTK
Copy link
Member

LPTK commented Sep 30, 2017

To make the new IR faster, and compatible with ScalaJS/ScalaNative (and also to lower its startup time), we would like not to rely on Scala Reflection at runtime.

This means we implement our own representation of types, type symbols and method symbols.

The downside is that we won't be able to inspect at runtime the annotations (such as effects annotations) defined on method symbols. To work around this, we:

  • will provide nice tools to provide effects annotations manually for external libraries (in the same vein as this);
  • will extend the functionalities of the @embed macro annotation to look at the annotations placed on methods and register them in the IR;
  • also, we have to remove the runtime dependencies on Scala Reflection that currently exists in the code that @embed generates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant