Hi Adrian,<br><br>Thanks for taking a look. Yeah, I'm happy with it, I just wasn't sure I was using it right. I'm a little worried about edge cases, where things might parse unexpectedly. I generated a graph, but couldn't really make much use of it.<br>
<br>Ragel is a really neat tool, and the documentation is very good. I think state charts could use a little more explanation.<br><br>I wrote a little XML parser using Ragel last night, blogged about it here:<br><a href="http://www.badlogicgames.com/wordpress/?p=1712">http://www.badlogicgames.com/wordpress/?p=1712</a><br>
<br>-Nate<br><br><br><div class="gmail_quote">On Mon, Mar 28, 2011 at 3:15 PM, Adrian Thurston <span dir="ltr"><<a href="mailto:thurston@complang.org">thurston@complang.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Nate,<br>
<br>
My apologies for taking so long to look at this. Code reviews are sometimes quite involved so I often put them off ... I just grabbed the latest and it seems the number of states is down to 113. That is certainly reasonable for a ragel program. Are you happy with it?<br>
<br>
-Adrian<div><div></div><div class="h5"><br>
<br>
On 02/23/2011 07:03 PM, Nate wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hi,<br>
<br>
I am using Ragel to parse a DSL for grid-based GUI layouts. What I have<br>
is working, but I'm not sure it is done well. I would love feedback on<br>
how it can be improved. I generated a graph with Graphviz... it was 10mb<br>
and<br>
32767x5625 pixels, which makes me think maybe I'm not doing this right.<br>
<br>
My Ragel file:<br>
<a href="http://code.google.com/p/table-layout/source/browse/trunk/build/TableLayoutParser.rl" target="_blank">http://code.google.com/p/table-layout/source/browse/trunk/build/TableLayoutParser.rl</a><br>
<br>
My project, with a description of the language:<br>
<a href="http://code.google.com/p/table-layout/" target="_blank">http://code.google.com/p/table-layout/</a><br>
<br>
The language is hierarchical. I'm using fjump/fret to handle that. Also,<br>
FWIW, I chose Ragel over JavaCC and ANTLR because I like the small<br>
amount of code generated. I also don't like that ANTLR has a runtime<br>
dependency.<br>
<br>
Thanks!<br>
-Nate<br>
<br>
<br>
<br></div></div>
_______________________________________________<br>
ragel-users mailing list<br>
<a href="mailto:ragel-users@complang.org" target="_blank">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>
--===============1214348<br>
</blockquote>
<br>
-- <br>
Adrian D. Thurston<br>
<a href="http://www.complang.org/thurston/" target="_blank">http://www.complang.org/thurston/</a><br>
<br>
_______________________________________________<br>
ragel-users mailing list<br>
<a href="mailto:ragel-users@complang.org" target="_blank">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>
</blockquote></div><br>