On Wed, 23 May 2001 19:49:07 +0200, Stefan Matthias Aust <sma / 3plus4.de> wrote: >Lothar Scholz <llothar / mailandnews.de> 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.