2 ms·
Right but by then the rule matching has been done - now you're writing code to distinguish rules instead of code to handle rules. The advantage of a parser too
by JoeAltmaier 12y ago
Right but by then the rule matching has been done - now you're writing code to distinguish rules instead of code to handle rules.
The advantage of a parser tool is, it makes the language constructs explicit in the code - here be assignment, here be for() etc. That has some value.