Search code examples
rubygrammarbnf

Ruby Grammar


I'm looking for Ruby grammar in BNF form. Is there an official version?


Solution

  • Yes, there is one Ruby BNF syntax by the University of buffalo.

    Edit: I've also found this alternate Ruby BNF syntax.