Plutonomicon / plutarch-core

Plutarch 2.0
MIT License
19 stars 6 forks source link

Type class and backend for Lua #20

Open L-as opened 1 year ago

L-as commented 1 year ago

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.