Demystifying Python's Internals - Diving into CPython by Implementing a New Operator

Demystifying Python's Internals - Diving into CPython by Implementing a New Operator

PyCon US via YouTube Direct link

Part 2: From Abstract Syntax Tree to Magic (Execution) Part 2

10 of 13

10 of 13

Part 2: From Abstract Syntax Tree to Magic (Execution) Part 2

Class Central Classrooms beta

YouTube playlists 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. 1 Intro
  2. 2 Sebastiaan Zeeff
  3. 3 From source code to execution
  4. 4 Adding a new binary operator: A pipe operator
  5. 5 Tokenization: from raw text to a stream of tokens
  6. 6 Tokenization: Add a token for the operator
  7. 7 Python's Grammar & the PEG Parser
  8. 8 Implementing our new grammar rule
  9. 9 Regenerate the parser based on the new grammar
  10. 10 Part 2: From Abstract Syntax Tree to Magic (Execution) Part 2
  11. 11 Making the compiler use the new 'opcode File: Python/compilec
  12. 12 Part 2: We've got Bytecode!
  13. 13 Recap & Remarks

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.