On Sat, Oct 14, 2006 at 12:17:48AM +0900, Sam Kong wrote:
> Hi,
> 
> I heard from somebody that Ruby cannot be completely expressed in EBNF.
> And he also said that there are some ad hoc cases.
> Is it true?
Check out parse.y (the yacc grammar for ruby) and see for yourself.
However, yes there are ad-hoc cases, mostly invovlving parentheses that
probably can not be expressed as a CFG.
> 
> Sam
> 
> -- 
> Posted via http://www.ruby-forum.com/.