Does anyone know where I can get the formal grammar for these languages especially Ruby on Rails? I'm interested in looking at how the language is processed.

Thanks

有帮助吗?

解决方案

Ruby on Rails is a framework, not a language. It's written in the Ruby language. You can get the source for Ruby at http://www.ruby-lang.org/en/downloads/. It uses lex and yacc for parsing; as far as I know, that code's contained in parse.y.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top