Module
Lexical Analysis (Scanning)
Sign in to add this module to your path and practice.
About
Tokenization: regular expressions, NFAs/DFAs, lexer generators (Flex/lex or hand-written), handling keywords, identifiers, literals, and error recovery.
Goal
Build a working lexer (by hand or with a generator) that produces a correct token stream for a small language, including line/column tracking and basic error messages.
Unlocks
Tutor
Ask questions about this module.
Hi — I'm your tutor for Lexical Analysis (Scanning). Ask about the concepts, goal, or where you're stuck.