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:

Photo Gallery

Core OCaml Small Step | OCaml Programming | Chapter 9 Video 21
SimPL Small Step | OCaml Programming | Chapter 9 Video 19
Compilers and Interpreters | OCaml Programming | Chapter 9 Video 1
SimPL Big Step | OCaml Programming | Chapter 9 Video 20
Environment Model of SimPL | OCaml Programming | Chapter 9 Video 23
Remaining Core OCaml Environment Model | OCaml Programming | Chapter 9 Video 29
SimPL Environment Model Interpreter | OCaml Programming | Chapter 9 Video 25
Calculator: Whitespace and Parentheses | OCaml Programming | Chapter 9 Video 9
Recap of All Models | OCaml Programming | Chapter 9 Video 30
Let Semantics | OCaml Programming | Chapter 9 Video 15
Calculator: Parse Integers | OCaml Programming | Chapter 9 Video 4
Calculator: Multiplication | OCaml Programming | Chapter 9 Video 7
View Detailed Profile
Core OCaml Small Step | OCaml Programming | Chapter 9 Video 21

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

Defining a

SimPL Small Step | OCaml Programming | Chapter 9 Video 19

SimPL Small Step | OCaml Programming | Chapter 9 Video 19

Defining and implementing the

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

SimPL Big Step | OCaml Programming | Chapter 9 Video 20

Defining and implementing the big-

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

Remaining Core OCaml Environment Model | OCaml Programming | Chapter 9 Video 29

Remaining Core OCaml Environment Model | OCaml Programming | Chapter 9 Video 29

How to evaluate a

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-

Calculator: Whitespace and Parentheses | OCaml Programming | Chapter 9 Video 9

Calculator: Whitespace and Parentheses | OCaml Programming | Chapter 9 Video 9

Implementing the smallest details of syntax in the calculator interpreter -- whitespace and parentheses 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.

Let Semantics | OCaml Programming | Chapter 9 Video 15

Let Semantics | OCaml Programming | Chapter 9 Video 15

Defining the

Calculator: Parse Integers | OCaml Programming | Chapter 9 Video 4

Calculator: Parse Integers | OCaml Programming | Chapter 9 Video 4

Implementing the parsing of integer constants in the calculator interpreter. Textbook: https://cs3110.github.io/textbook.

Calculator: Multiplication | OCaml Programming | Chapter 9 Video 7

Calculator: Multiplication | OCaml Programming | Chapter 9 Video 7

Implementing the multiplication operator in the calculator interpreter Textbook: https://cs3110.github.io/textbook.

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.

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

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

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

OCAML Tutorial 26/33: Debugging OCAML Programs

OCAML Tutorial 26/33: Debugging OCAML Programs

My web page: www.imperial.ac.uk/people/n.sadawi Useful links: ...

Calculator: Intro | OCaml Programming | Chapter 9 Video 3

Calculator: Intro | OCaml Programming | Chapter 9 Video 3

The first

Calculator: Addition | OCaml Programming | Chapter 9 Video 6

Calculator: Addition | OCaml Programming | Chapter 9 Video 6

Implementing the addition operator in the calculator interpreter Textbook: https://cs3110.github.io/textbook.

Inference of Ifs | OCaml Programming | Chapter 9 Video 40

Inference of Ifs | OCaml Programming | Chapter 9 Video 40

How to infer the type of `if` expressions in HM type inference Textbook: https://cs3110.github.io/textbook.