From: Mark Hubbart Date: 2004-02-28T16:21:15+09:00 Subject: Re: Ruby Compiler [was Introducing myself and my interest in ruby] On Feb 27, 2004, at 9:37 PM, Curt Hibbs wrote: > Or, how about instead of doing a compiler to emit machine code for some > particular architecture, instead do it to emit byte codes for the > Parrot VM? > > In other words, join the Cardinal project and help it to forge ahead! Well... for me to work on either project, I will have to do a lot of brushing up on various things :) I have a feeling I won't actually get around to doing anything for at least a couple months, regardless. But when I do, I think Cardinal would be a good project for me to pore over. They would both be parsing Ruby and translating it into, basically, another language :) Perhaps the C translation could even build off of work done on cardinal! Parse the tree, then emit either cardinal bytecode, or C code. So I think helping with the cardinal project would benefit both projects. What are the chances of Cardinal having the ability to emit more than one type of code structure for the tree it parses? Could it possibly end up pluggable? --Mark