Tag: interpreters
All the articles with the tag "interpreters".
LET: Introducing Local Bindings and Scope
LET extends VAR with let expressions, allowing programs to introduce local bindings and showing how environments determine their scope and support shadowing.
Make it a Syntax Error
See how grammar and AST design in a tiny Elm interpreter can turn runtime type errors into syntax errors, simplify evaluation, and connect to GADTs.
Setting Up a Reproducible Elm Interpreter Project with Nix
Set up a reproducible Elm interpreter project with a Nix flake, Elm tooling, helper commands, source and test structure, and grammar documentation.
Testing an Elm Interpreter with elm-test
Learn how to test an Elm interpreter with elm-test at the lexer, parser, and interpreter boundaries, then extract a reusable testValue helper.