From: Juancarlo Anez Date: 2001-05-09T09:54:16+09:00 Subject: [ruby-talk:14885] Re: ANTLR rules for Ruby Hello Folks, I worked plenty with YACC while I was a student, and learned how difficult it is to debug, maintain, enhance, and optimize table-driven parsers. Top-down, procedural parsers are completely the opposite. A top down parser pays out in the short term even if it has to be written by hand. I studied ANTLR once and it seemed pretty capable, but I haven't used it. I have used JavaCC and found it exremely capable, but the tool is Java specific. Anyway, ANTLR or not, I can't recommend a top-down parser enough. How about a top-down parser written in Ruby? It would be a short, easy, and fun experiment. If the performance is reasonable, then one can focus attention on improving overal Ruby performance (which would also improve the parser's). Juanco -- Ing. Juancarlo Anez Modelistica juancarlo@modelistica.com http://www.modelistica.com ---