Sep 06
Writing a compiler in F#. Bytecode and let-bindings
Money Tags: Bytecode, Compiler, letbindings, WritingNo Comments »
In this video we’ll extend the Fang compiler by adding support for let-bound variables to the codegen and the VM.
00:00 – Intro
00:44 – Plan
00:49 – Environment
01:59 – ConstPool: motivation
02:54 – ConstPool: implementation
05:12 – Var bytecode
05:57 – Bind bytecode
11:23 – Environment support in the VM
18:19 – Running and debugging the VM
20:37 – Summary
Video Rating: / 5