From: Peter Zotov Date: 2012-05-28T21:01:42+09:00 Subject: Re: looking for a ruby equivalent of python's ply botp писал 27.05.2012 06:56: > Hi all, subject says all. am looking a ruby equivalent of python's > ply > (lex-yacc). cant google it, so hoping it's just hidden somewhere... > > thanks and best regards -botp Try treetop: http://treetop.rubyforge.org/ It is not very fast (not for megabytes of text), but it's very simple to use. I also wrote an article with some examples and recipes for avoiding typical errors: http://whitequark.org/blog/2011/09/08/treetop-typical-errors/ Also, there is racc (ruby's yacc) and antlr-ruby, but these are somewhat more arcane. -- WBR, Peter Zotov.