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

remove type alias feature and labels for tuple fields at run-time. #89

Open
jurgenvinju opened this issue Aug 6, 2020 · 0 comments
Open
Assignees

Comments

@jurgenvinju
Copy link
Member

The type alias feature is not only costly at run-time, it also prevents certain optimizations from being correct in the current implementation.

Because vallang is mainly used as a run-time for Rascal, it can do without the alias feature. The Rascal compiler offers a compile-time type alias feature which is equivalent from a programmer's perspective.

By removing type aliases, I believe the only source of type representation ambiguity at run-time will be labed fields of tuple types. Those too, can be replaced by a compile-time feature.

@jurgenvinju jurgenvinju self-assigned this Aug 6, 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

1 participant