From: MikkelFJ Date: 2002-09-29T06:29:48+09:00 Subject: Re: Is Ruby's grammar LL(k)? "Mark Probert" wrote in message news:5.1.0.14.2.20020928094656.00b0fe90@zcard04k.ca.nortel.com... > parseLine unless /^$/ # Don't parse empty lines end This is a real problem in Ruby parsing I guess: You can easily handle many of Rubys linebreak rules if you include linebreak as a token, but if you do that, you will have to deal with them a lot of places where you would rather ignore them as whitespace. I think this can be handled by having the parser cooperating with the lexer. Obviously it is doable since Ruby parsers exist. Mikkel