Hi,
In message "[ruby-talk:16018] Re: java based interpreter and regexes"
on 01/05/30, "Wayne Blair" <wayne.blair / relian.com> writes:
|I saw a pseudo-BNF for an old version of ruby - can that be generated for
|the newest version? (to delay the pain of getting into parse.y)
It can be easily generated from parse.y using sample/exyacc.rb.
But yyparse() tightly combined with yylex() via state variables, which
is hardly described by syntax rules only. That's why I call it kludge.
matz.