Re:How to Parse Ruby
by stib on Thursday February 07, 2013 @12:58PM
(#5183524)
A different approach, which has served me well, is to study and understand Perl's parser/lexer, which are more intertwined than your grandmother's Friday night challah. Once you get that, understanding the MRI parser is a snap.
[ Parent
| on HN ]
Perl cannot be parsed in the traditional sense of the word. The parse tree is unknowable until you're actually running.
This one is also a good read,