On Thu, 24 Jul 2003, Joseph F. Ryan wrote: > I'm not familiar with the Python bytecode spec (to be a little more > accurate, I'm completely clueless about it), but perhaps something > similar can be done? Also, another thing to consider is that it > might be easier to translate python bytecode directly to imcc rather > than to generate imcc straight from the parse tree itself... It's > just a thought, anyways.
That's Dan's approach, from what I've read on his blog. As long as we eventually get a python parser running as parrot bytecode, it doesn't really matter how it gets there. It's just that I personally am a lot more comfortable with the higher level concepts. I'd rather work with visit_if() than a string of python bytecodes. My intuition is that you could do a lot better job with optimization that way too, but I could be way off there. Sincerely, Michal J Wallace Sabren Enterprises, Inc. ------------------------------------- contact: [EMAIL PROTECTED] hosting: http://www.cornerhost.com/ my site: http://www.withoutane.com/ --------------------------------------