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:

Photo Gallery

Small-Step Evaluation | OCaml Programming | Chapter 9 Video 13
SimPL Small Step | OCaml Programming | Chapter 9 Video 19
Core OCaml Small Step | OCaml Programming | Chapter 9 Video 21
Evaluation Relations | OCaml Programming | Chapter 9 Video 14
Compilers and Interpreters | OCaml Programming | Chapter 9 Video 1
Environment Model of SimPL | OCaml Programming | Chapter 9 Video 23
SimPL Big Step | OCaml Programming | Chapter 9 Video 20
Let Semantics | OCaml Programming | Chapter 9 Video 15
SimPL Type System | OCaml Programming | Chapter 9 Video 32
Recap of All Models | OCaml Programming | Chapter 9 Video 30
Definition of Substitution | OCaml Programming | Chapter 9 Video 17
Calculator: Evaluate Integers | OCaml Programming | Chapter 9 Video 5
View Detailed Profile
Small-Step Evaluation | OCaml Programming | Chapter 9 Video 13

Small-Step Evaluation | OCaml Programming | Chapter 9 Video 13

In a

SimPL Small Step | OCaml Programming | Chapter 9 Video 19

SimPL Small Step | OCaml Programming | Chapter 9 Video 19

Defining and implementing the

Core OCaml Small Step | OCaml Programming | Chapter 9 Video 21

Core OCaml Small Step | OCaml Programming | Chapter 9 Video 21

Defining a

Evaluation Relations | OCaml Programming | Chapter 9 Video 14

Evaluation Relations | OCaml Programming | Chapter 9 Video 14

Small- and big-step

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 ...

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 Big Step | OCaml Programming | Chapter 9 Video 20

SimPL Big Step | OCaml Programming | Chapter 9 Video 20

Defining and implementing the big-

Let Semantics | OCaml Programming | Chapter 9 Video 15

Let Semantics | OCaml Programming | Chapter 9 Video 15

Defining the

SimPL Type System | OCaml Programming | Chapter 9 Video 32

SimPL Type System | OCaml Programming | Chapter 9 Video 32

Defining the type system for a simple language 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 big-step vs.

Definition of Substitution | OCaml Programming | Chapter 9 Video 17

Definition of Substitution | OCaml Programming | Chapter 9 Video 17

How to define the substitution operation for simple expressions, including `if` and `let` Textbook: https://cs3110.github.io/textbook.

Calculator: Evaluate Integers | OCaml Programming | Chapter 9 Video 5

Calculator: Evaluate Integers | OCaml Programming | Chapter 9 Video 5

Implementing the

Environment Model Example | OCaml Programming | Chapter 9 Video 24

Environment Model Example | OCaml Programming | Chapter 9 Video 24

An example of how environment-model

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: ...

Grammars and BNF | OCaml Programming | Chapter 9 Video 12

Grammars and BNF | OCaml Programming | Chapter 9 Video 12

The grammar of a language can be described in a notation known as "Backus-Naur Form" (BNF). The input to Menhir (or ...

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

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

Implementing an environment-model big-

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.

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.

Calculator: Intro | OCaml Programming | Chapter 9 Video 3

Calculator: Intro | OCaml Programming | Chapter 9 Video 3

The first