Stupid question, but how do you dump the AST? I've wanted to do that a couple times (most recently while hacking my own temporary "eval").<br><br><div class="gmail_quote">On Feb 5, 2008 1:42 PM, Peter Bacon Darwin <<a href="mailto:bacondarwin@googlemail.com">bacondarwin@googlemail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<div style="border-style: none none double; border-color: -moz-use-text-color -moz-use-text-color windowtext; border-width: medium medium 2.25pt; padding: 0in 0in 1pt;">
<p style="border: medium none ; padding: 0in;"><span style="font-size: 11pt; color: rgb(31, 73, 125);">OK, so I think that this is a
problem with the AST to code generation, though I really don't understand
it deeply enough to say exactly where.</span></p>
<p style="border: medium none ; padding: 0in;"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p style="border: medium none ; padding: 0in;"><span style="font-size: 11pt; color: rgb(31, 73, 125);">If you dump the ASTs from the
ruby code the body of the loop looks like this:</span></p>
<p style="border: medium none ; padding: 0in;"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p></div></div></div></blockquote></div><br>