Larry Wall Quotes on Parsing

6 quotes

  1. I'm sure that that could be indented more readably, but I'm scared of the awk parser.

  2. There are probably better ways to do that, but it would make the parser more complex. I do, occasionally, struggle feebly against complexity... :-)

  3. 'Course, that doesn't work when 'a' contains parentheses.

  4. There's something to be said for returning the whole syntax tree.

  5. pos += screamnext[pos] /* does this goof up anywhere? */

  6. /* This bit of chicanery makes a unary function followed by a parenthesis into a function with one argument, highest precedence. */

All Larry Wall quotes