Parser
Makes sense of the tokens and builds the tree
Deeply incestuous with tokenizer :-)
Written using slightly modified byacc (perly.y)
"Grammar" defines valid combinations of tokens
Assocatiated actions say what to do when those combinations are found (build section of tree)
Just been commented!
Example parse
< Tokenizer
Variable Handling >
Table of Contents
|
Page 8
YAPC 19101
, June 2001
Perl 5 Internals
Simon Cozens