Bilingual post · Post bilíngue

Jump to: English · Português

English {#english}

CrabPascal Lexer: How Source Becomes Tokens

Before CrabPascal can parse a program or report a type error, it must read plain text and slice it into meaningful units called tokens. The lexer (scanner) is phase one of the compiler pipeline — fast, deterministic, and surprisingly subtle when Delphi syntax enters the picture.