Hi,<br><br>I am using Ragel to parse a DSL for grid-based GUI layouts. What I have is working, but I'm not sure it is done well. I would love feedback on how it can be improved. I generated a graph with Graphviz... it was 10mb and <div class="msg Nth">
32767x5625 pixels, which makes me think maybe I'm not doing this right.<br></div><br>My Ragel file:<br><a href="http://code.google.com/p/table-layout/source/browse/trunk/build/TableLayoutParser.rl">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/">http://code.google.com/p/table-layout/</a><br><br>The language is hierarchical. I'm using fjump/fret to handle that. Also, FWIW, I chose Ragel over JavaCC and ANTLR because I like the small amount of code generated. I also don't like that ANTLR has a runtime dependency.<br>
<br>Thanks!<br>-Nate<br>