I'm not sure if it meets your criteria, but I've used ANTLR and found it to be very good. One of the nice things about it is that it includes an "IDE" type environment where you can step through the parser on a token-by-token basis, see the rules it is picking and the parse tree it is generating. It was an invaluable tool while developing my parser in ANTLR. I only wish I had known about ragel at the time. I had wrote my lexer initially with ANTLR, and then I rewrote it in jflex for better performance. Now that I've used ragel a bit, I may end up doing one more rewrite :)<div>
<br></div><div><br><div><div><br><div class="gmail_quote">On Wed, Oct 19, 2011 at 12:00 PM, <span dir="ltr"><<a href="mailto:ragel-users-request@complang.org">ragel-users-request@complang.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send ragel-users mailing list submissions to<br>
<a href="mailto:ragel-users@complang.org">ragel-users@complang.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://www.complang.org/mailman/listinfo/ragel-users" target="_blank">http://www.complang.org/mailman/listinfo/ragel-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:ragel-users-request@complang.org">ragel-users-request@complang.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:ragel-users-owner@complang.org">ragel-users-owner@complang.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ragel-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. LALR(1) companion tool for Ragel scanner (M Conrad)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 19 Oct 2011 00:06:39 -0400<br>
From: "M Conrad" <<a href="mailto:silverdirk-rgl@silverdirk.com">silverdirk-rgl@silverdirk.com</a>><br>
To: <a href="mailto:ragel-users@complang.org">ragel-users@complang.org</a><br>
Subject: [ragel-users] LALR(1) companion tool for Ragel scanner<br>
Message-ID: <<a href="mailto:op.v3kyx4llah38gt@osangar.int.intellitree.com">op.v3kyx4llah38gt@osangar.int.intellitree.com</a>><br>
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes<br>
<br>
Hi, I am wondering if there is a good LALR(1) parser generator for use<br>
with Ragel that has as nice of a host-language interface as Ragel does.<br>
<br>
I found Lemon, but it generates almost unreadable code, and half the time<br>
it tells me about errors in my grammar with meaningless assertion errors.<br>
Also, I really like the way Ragel can be inlined with the host language,<br>
and would like to find a parser-generator to match.<br>
<br>
If one doesn't exist, I am considering writing one. (I've written the<br>
LALR(1) algorithm in Java before, so it wouldn't be that hard) But, I<br>
don't want to waste effort if it is redundant.<br>
<br>
Can anyone point me to other LR parsers that you like?<br>
<br>
Thanks,<br>
-Mike<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
ragel-users mailing list<br>
<a href="mailto:ragel-users@complang.org">ragel-users@complang.org</a><br>
<a href="http://www.complang.org/mailman/listinfo/ragel-users" target="_blank">http://www.complang.org/mailman/listinfo/ragel-users</a><br>
<br>
End of ragel-users Digest, Vol 37, Issue 1<br>
******************************************<br>
</blockquote></div><br></div></div></div>