Capstone 3: implementing PocketLang's lexer and parser
A complete, working lexer and recursive descent parser for PocketLang's full grammar, including the function/call disambiguation the design lesson flagged.
12 min readUpdated 2026-09-03compiler-designcapstonelexerparsercpp