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

Improve the Base interface #49

Open
4 tasks
LPTK opened this issue May 9, 2018 · 0 comments
Open
4 tasks

Improve the Base interface #49

LPTK opened this issue May 9, 2018 · 0 comments

Comments

@LPTK
Copy link
Member

LPTK commented May 9, 2018

This is to prepare the ground for the new IR implementations that will replace the legacy AST/SimpleAST/SimpleANF IRs which are bloated and unoptimal.

We need to:

  • add a Context abstract type member and an implicit parameter to reification methods, so as to avoid needless global state in the reification process;

  • abstract over the representation of argument lists List[ArgList], so as to allow alternative and possibly more efficient representations;

  • abstract over the Extract data type, for the same reason;

  • perhaps take the precautions needed to make the IRs threadsafe, if it does not incur significant overhead (otherwise make it opt-in) – IIRC the main place where threadsafety would be a problem is with the pattern caching mechanism, and with variable-id generation.

@LPTK LPTK added this to the Version 0.4 milestone May 9, 2018
@LPTK LPTK modified the milestones: Version 0.4, Version 0.5 Jul 24, 2019
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