------ art_12472_7747307.1220900325341 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sun, Sep 7, 2008 at 11:22 PM, ara.t.howard <ara.t.howard / gmail.com>wrote: > > On Sep 6, 2008, at 8:20 PM, Eric Mahurin wrote: > > Since I was giving a presentation about Grammar at the Lonestar Ruby >> Conference (which ended today), I thought it was about time to release >> another version of Grammar. I posted it yesterday here: >> >> http://rubyforge.org/projects/grammar/ >> >> and the presentation is here (before a few modifications): >> >> http://grammar.rubyforge.org/0.8/grammar_lonestar2008.swf >> > > i look forward to using this - looks like a very nice piece of work! > Thanks! I believe I finally have infrastructure I'm happy with that is very extensible. At this point, it would be nice to have help with development. Here are some of the ideas I'm thinking: * more engines (the things that traverse Grammar trees) ++ direct Ruby C (target: on par with Florian Frank's Ragel generated JSON C extension) ++ engines call lambda's for actions instead of inlining (slower, but more usable/flexible) ++ generation in other languages using native (non-ruby) objects: C++, Java, python, ... ++ generation of Graphiz dot diagram or other visualization formats ++ LALR or packrat parser generation and/or add some features of those to current engines (i.e. memoization) * conversion mechanisms ++ from ANTLR ++ from YACC/RACC/RACC ++ possibly layer these so that these formats could be used directly * specific language grammars ++ *ML formats - should be simple ++ parse Ruby itself - quite difficult, but should be possible with Grammar ++ other programming languages - ANTLR grammars are probably a good start * better documentation and examples ++ especially a web page - not my forte * additional functionality at the Grammar level ++ external object references (not just clones or Marshaled as now) ++ additional common Grammar patterns * many other things I'm just not seeing Contact me with any interest. Eric ------ art_12472_7747307.1220900325341--