From: Lex Williams Date: 2008-08-30T01:55:38+09:00 Subject: Re: how can I debug treetop grammar? > SyntaxNode#inspect shows a wealth of information, including an indented > node hierarchy, what input that node matched (abbreviated) and what > accessor methods are added by the modules extended into each node. > > Parser#failure_reason tells you where it got to, and what tokens would > have allowed it to get further. > > If that isn't enough, try calling your grammar from a lower-level rule > and working up until you see where it's failing. > > Also don't forget that there's a "tt" command you can use to generate > the grammar into a ruby file you can inspect. > > As for your earlier query, it's a known bug. > > Clifford Heath. Thank you Clifford , I really appreciate you taking the time to answer this . I will look into them , and post here whatever questions I will have ! -- Posted via http://www.ruby-forum.com/.