Indiana Jones and the Pascal compiler in 2 hours
summary
A hands-on masterclass that demonstrates building a working Pascal-to-Java-bytecode compiler in about two hours. It explains why targeting the JVM simplifies code generation (e.g., garbage collection provided) and shows practical steps and choices for implementing a compiler quickly by selecting a suitable source language and generating JVM bytecode.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 6:13Why Pascal compiler
- 11:37Compiler structure
- 20:12Intermediate representation
- 30:24Error handling and resolution
- 44:02Bytecode generation
- 1:04:02Java ASM and Class File API
- 1:15:56Short computation schema
- 1:25:00Adding break operator
- 1:38:20Summary and Q&A
related talks
43mCreate your own Interpreter with a JIT in 1 hour
38mGraal
46mJIT Compiler From the Ground Up
44mJIT Me Baby One More Time
41mHow to write a JIT compiler in 30 minutes
35mJava Source to Byte Code Transformation - The Hidden Story!
15mThe Jai Programming Language and What Can We Learn From It
57mDecoding Java: From Source Code to Bytecode
