ThetaLang / Theta

θ A statically typed, functional programming language that compiles to WebAssembly
https://theta-lang.org
MIT License
38 stars 10 forks source link

Implement a TypeChecker #1

Closed alexdovzhanyn closed 4 months ago

alexdovzhanyn commented 5 months ago

Currently, we parse and create TypeDeclarationNodes whenever they are defined in the language, but we don't utilize these nodes yet. We need to implement a TypeChecker to validate types during compilation. The TypeChecker should ensure:

Subtasks: