Arno~
On Sat, Jun 14, 2008 at 5:54 PM, Arno Unkrig <
arno@...> wrote:
> Matt Fowles schrieb:
>>
>> All~
>>
> ...
>>
>> went very smoothly. I was a little surprised to discover that Janino
>> requires its AST to actually be a tree. Our internal stuff allows for
>> sub-expression reuse with in the tree. But emitting a tree was a
>
> That's because compile-time status information is stored in the AST. Surely
> a design flaw, but really difficult to resolve without splitting up all the
> AST classes and ending up with twice the number of classes, and a lot of
> glue code.
Yes, I figured that out. I agree with you that it might be a flaw,
but the flip side is the extra classes you mentioned. I am not sure
either what the "correct" design is. Although I have noticed that
compilers tend to be complicated beasts...
Matt
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email