On Mon, 12 Aug 2002, Jeff wrote:
Some of you may notice the new CVS commit in languages/ruby.
This is -not- a fait accompli', but a nearly complete grammar for ruby.
I removed the left-recursion in the expression nonterminal ('arg'), but
not the last few places. It's using the publicly available descripton in
the Ruby documentation (Appendix A, 'Pseudo-BNF grammar',) so it should
be reasonably unencumbered by licensing issues.
What licensing issues? The current Ruby implementation is covered by GPL
and an artistic-like license which allows a great amount of freedom. It's
open source.
>
Within the Yacc/ directory, however, will be the original parse.y file
from ruby's source. This one actually passes the left-recursive test
completely, but is probably going to offer many more problems than the
pseudogrammar offered in the top level.
Until we have permission to use the official parse.y-derived grammar,
let's hold off on using it. Feel free to play with it, and if you can
make it completely work, feel free, but don't commit quite yet.
Why do you need permission? You can use the yacc files that come with
Ruby without needing to get any permission.