I'm looking for a really solid parser generator where I can write my own grammar like in JavaCC or Lex/Yacc to parse files in a custom built language. The more portable and more efficient the better (two mutually exclusive requirements? ) Any suggestions?
On Tue, Jul 21, 2009 at 3:10 AM, Eric Tucker <eric@semperex.com> wrote:
I'm looking for a really solid parser generator where I can write my own
grammar like in JavaCC or Lex/Yacc to parse files in a custom built
language. The more portable and more efficient the better (two mutually
exclusive requirements? ) Any suggestions?
It generates a ruby class for a grammer. The generated class depends on
racc-runtime (written in C), but the runtime is in the Ruby's standard
library.
So it is efficient and portable.
-- Yugui <yugui@yugui.jp>
路路路
On 7/21/09 10:10 AM, Eric Tucker wrote:
I'm looking for a really solid parser generator where I can write my own grammar like in JavaCC or Lex/Yacc to parse files in a custom built language. The more portable and more efficient the better (two mutually exclusive requirements? ) Any suggestions?
most of us use racc (for better or worse)... aaron and I are maintaining it now and aaron has taken on rexx, tho he's released it under a new name (currently forgetting, but prolly on his github).
路路路
On Jul 20, 2009, at 18:10 , Eric Tucker wrote:
I'm looking for a really solid parser generator where I can write my own grammar like in JavaCC or Lex/Yacc to parse files in a custom built language. The more portable and more efficient the better (two mutually exclusive requirements? ) Any suggestions?
Unless things have changed radically, ANTLR's Ruby support
is effectively non-functional.
Clifford Heath.
路路路
Regards,
Gustav
On Tue, Jul 21, 2009 at 3:10 AM, Eric Tucker <eric@semperex.com> wrote:
I'm looking for a really solid parser generator where I can write my own
grammar like in JavaCC or Lex/Yacc to parse files in a custom built
language. The more portable and more efficient the better (two mutually
exclusive requirements? ) Any suggestions?