Media Summary: The "environment model" differs from the "substitution model" by lazily recording substitutions in a map Textbook: ... An example of how environment-model evaluation works. Substitution-model evaluation is list-like; environment-model, tree-like. The environment-model semantics of functions requires careful attention to scope Textbook:

Simpl Big Step Ocaml Programming Chapter 9 Video 20 - Detailed Analysis & Overview

The "environment model" differs from the "substitution model" by lazily recording substitutions in a map Textbook: ... An example of how environment-model evaluation works. Substitution-model evaluation is list-like; environment-model, tree-like. The environment-model semantics of functions requires careful attention to scope Textbook: Modifying the parser and AST to incorporate type annotations on `let` bound variables Textbook: The semantics of `let` uses a notion of substitution, but, how should that be defined? These examples lend intuition. Textbook: ... Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ...

The HM type-inference relation adds a set of "collected constraints" to the type-checking relation Textbook: ...

Photo Gallery

SimPL Big Step | OCaml Programming | Chapter 9 Video 20
SimPL Small Step | OCaml Programming | Chapter 9 Video 19
Environment Model of SimPL | OCaml Programming | Chapter 9 Video 23
SimPL Environment Model Interpreter | OCaml Programming | Chapter 9 Video 25
Environment Model Example | OCaml Programming | Chapter 9 Video 24
Function Semantics in the Environment Model | OCaml Programming | Chapter 9 Video 26
SimPL Type System | OCaml Programming | Chapter 9 Video 32
Adding Types to SimPL Interpreter | OCaml Programming | Chapter 9 Video 33
Recap of All Models | OCaml Programming | Chapter 9 Video 30
Substitution Examples | OCaml Programming | Chapter 9 Video 16
Compilers and Interpreters | OCaml Programming | Chapter 9 Video 1
SimPL Type Checker Part 2 | OCaml Programming | Chapter 9 Video 35
Sponsored
View Detailed Profile
SimPL Big Step | OCaml Programming | Chapter 9 Video 20

SimPL Big Step | OCaml Programming | Chapter 9 Video 20

Defining and implementing the

SimPL Small Step | OCaml Programming | Chapter 9 Video 19

SimPL Small Step | OCaml Programming | Chapter 9 Video 19

Defining and implementing the small-

Environment Model of SimPL | OCaml Programming | Chapter 9 Video 23

Environment Model of SimPL | OCaml Programming | Chapter 9 Video 23

The "environment model" differs from the "substitution model" by lazily recording substitutions in a map Textbook: ...

SimPL Environment Model Interpreter | OCaml Programming | Chapter 9 Video 25

SimPL Environment Model Interpreter | OCaml Programming | Chapter 9 Video 25

Implementing an environment-model

Environment Model Example | OCaml Programming | Chapter 9 Video 24

Environment Model Example | OCaml Programming | Chapter 9 Video 24

An example of how environment-model evaluation works. Substitution-model evaluation is list-like; environment-model, tree-like.

Sponsored
Function Semantics in the Environment Model | OCaml Programming | Chapter 9 Video 26

Function Semantics in the Environment Model | OCaml Programming | Chapter 9 Video 26

The environment-model semantics of functions requires careful attention to scope Textbook: https://cs3110.github.io/textbook.

SimPL Type System | OCaml Programming | Chapter 9 Video 32

SimPL Type System | OCaml Programming | Chapter 9 Video 32

Defining the type system for a

Adding Types to SimPL Interpreter | OCaml Programming | Chapter 9 Video 33

Adding Types to SimPL Interpreter | OCaml Programming | Chapter 9 Video 33

Modifying the parser and AST to incorporate type annotations on `let` bound variables Textbook: https://cs3110.github.io/textbook.

Recap of All Models | OCaml Programming | Chapter 9 Video 30

Recap of All Models | OCaml Programming | Chapter 9 Video 30

A comparison of

Substitution Examples | OCaml Programming | Chapter 9 Video 16

Substitution Examples | OCaml Programming | Chapter 9 Video 16

The semantics of `let` uses a notion of substitution, but, how should that be defined? These examples lend intuition. Textbook: ...

Compilers and Interpreters | OCaml Programming | Chapter 9 Video 1

Compilers and Interpreters | OCaml Programming | Chapter 9 Video 1

Compilers translate code from one language to another. Interpreters execute code. Virtual machines and just-in-time compilation ...

SimPL Type Checker Part 2 | OCaml Programming | Chapter 9 Video 35

SimPL Type Checker Part 2 | OCaml Programming | Chapter 9 Video 35

Implementing the type checker for a

Type Inference Relation | OCaml Programming | Chapter 9 Video 38

Type Inference Relation | OCaml Programming | Chapter 9 Video 38

The HM type-inference relation adds a set of "collected constraints" to the type-checking relation Textbook: ...