Larry Wall Quotes on Parsing
-
I'm sure that that could be indented more readably, but I'm scared of the awk parser.
-
There are probably better ways to do that, but it would make the parser more complex. I do, occasionally, struggle feebly against complexity... :-)
-
'Course, that doesn't work when 'a' contains parentheses.
-
There's something to be said for returning the whole syntax tree.
-
pos += screamnext[pos] /* does this goof up anywhere? */
-
/* This bit of chicanery makes a unary function followed by a parenthesis into a function with one argument, highest precedence. */