Media Summary: Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ... The "environment model" differs from the "substitution model" by lazily recording substitutions in a map Textbook: ... Defining the type system for a simple language Textbook:
Small Step Evaluation Ocaml Programming Chapter 9 Video 13 - Detailed Analysis & Overview
Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ... The "environment model" differs from the "substitution model" by lazily recording substitutions in a map Textbook: ... Defining the type system for a simple language Textbook: How to define the substitution operation for simple expressions, including `if` and `let` Textbook: The semantics of `let` uses a notion of substitution, but, how should that be defined? These examples lend intuition. Textbook: ... The grammar of a language can be described in a notation known as "Backus-Naur Form" (BNF). The input to Menhir (or ...
Modifying the parser and AST to incorporate type annotations on `let` bound variables Textbook: The environment-model semantics of functions requires careful attention to scope Textbook: