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: ... Implementing the smallest details of syntax in the calculator interpreter -- whitespace and parentheses Textbook: ...
Core Ocaml Small Step Ocaml Programming Chapter 9 Video 21 - 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: ... Implementing the smallest details of syntax in the calculator interpreter -- whitespace and parentheses Textbook: ... Implementing the parsing of integer constants in the calculator interpreter. Textbook: Implementing the multiplication operator in the calculator interpreter Textbook: An example of how environment-model evaluation works. Substitution-model evaluation is list-like; environment-model, tree-like.
Modifying the parser and AST to incorporate type annotations on `let` bound variables Textbook: My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ... Implementing the addition operator in the calculator interpreter Textbook: How to infer the type of `if` expressions in HM type inference Textbook: