Learn Before
Relation

Tokenizing Source Code: Classifying Keywords and Operators in Pygments @ University of Michigan - Ann Arbor

Learners will explore the core mechanics of syntax highlighting by building and refining custom lexers with Python and the Pygments library. Through practical Python examples, you will learn how regular expressions break raw source code into tokens and accurately map them to distinct keyword and operator categories. By the end of the course, you will understand how to distinguish language constructs reliably and handle common tokenization edge cases.

0

1

Updated 2026-10-08

Tags

Prep Sessions

Related