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

Type class and backend for Lua #20

Open
L-as opened this issue Sep 11, 2022 · 0 comments
Open

Type class and backend for Lua #20

L-as opened this issue Sep 11, 2022 · 0 comments
Assignees

Comments

@L-as
Copy link
Member

L-as commented Sep 11, 2022

Making a type class that expresses Lua's syntax and semantics will require novel techniques.
Since the language is mutable, and statements can't be put into expressions, the type class has to represent that, in addition to typing mutability somehow. This will look like an effect system, but be a bit different.
https://richarde.dev/papers/2021/linear-constraints/linear-constraints.pdf is a good resource for some ideas.

@L-as L-as self-assigned this Sep 11, 2022
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