From: Lothar Scholz Date: 2001-05-24T23:41:24+09:00 Subject: [ruby-talk:15667] Re: Language specification reference On Wed, 23 May 2001 19:49:07 +0200, Stefan Matthias Aust wrote: >Lothar Scholz wrote: > >>because i want to write a tool for ruby >>i'm looking for a formal and complete language >>reference. Is there something on the net >>(or printed in english and available in a good >>book shop) ? > >I'm afraid, the only complete reference for Ruby's grammar is the YACC >input file "parse.y" from the ruby source distribution. One Ruby >overview document contains a simplified BNF but that's probably not >enough to create a correct Ruby parser. > Thanks, grammer is an imporant part but whats about a precise definition about the semantik. I will write my Ruby parser/tokenizer in Eiffel if i'm able to understand the parse.y file.