Concept Flow - Recursive descent parsing
Start parsing input
Call parse function for start symbol
Match current token with expected token?
Yes No
Consume token
Call parse functions for subrules
Repeat until input fully parsed
Parsing success or failure
The parser starts by calling a function for the start symbol, matches tokens step-by-step, calls subrule functions recursively, and either succeeds or reports an error.
