Completed
Part 2: From Abstract Syntax Tree to Magic (Execution) Part 2
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Demystifying Python's Internals - Diving into CPython by Implementing a New Operator
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Sebastiaan Zeeff
- 3 From source code to execution
- 4 Adding a new binary operator: A pipe operator
- 5 Tokenization: from raw text to a stream of tokens
- 6 Tokenization: Add a token for the operator
- 7 Python's Grammar & the PEG Parser
- 8 Implementing our new grammar rule
- 9 Regenerate the parser based on the new grammar
- 10 Part 2: From Abstract Syntax Tree to Magic (Execution) Part 2
- 11 Making the compiler use the new 'opcode File: Python/compilec
- 12 Part 2: We've got Bytecode!
- 13 Recap & Remarks