DylanSp / wheel-lang

A small toy imperative language (with some OOP features) for demonstrating and practicing language design/implementation.
MIT License
14 stars 0 forks source link

Use ValueKind instead of string for type errors #39

Closed DylanSp closed 4 years ago

DylanSp commented 4 years ago

Right now, TypeMismatchError uses strings to specify types, NotFunctionError also uses a string; ValueKind can be used instead.