--- Bala Karthik <[EMAIL PROTECTED]> wrote:
> 
> Hi Ramesh,
> 
> That sounds exciting. Just wanted to clarify on your
> suggestion. Are you saying that the parrot compiler
> should be able to decipher the asm generated by any
> C code.
Well... EIther we just compile C down to Parrot. Or
work at an asm to parrot translator. The advantages I
think are greater in the first, as we can build really
tight code. But yes! you'll have to recompile all the
programs. Yes, I am dreaming of porting Linux to run
in Parrot. No, functional purpose. Just one of those
dreams. Or hey does that mean we can use Parrot as a
VM, sorta like  VMWare.

Branch two, would mean we translate at byte level from
assembly to parrot. Would this be easier? I don't
know.  But you could just translate without needing to
recompile all the stuff.

> Any idea on how to go around this ? I'm a
> newbie to this and i'm very much interested in
> contributing to the community :) . Your help would
> be highly appreciated. 

First way  I think would be to write a back end to
gcc. But that's tough. the way parrot is constantly
changing. 
But another way would be to write a library with which
you compile. So that the resultant code is parrot
code. I really don't know whether this is feasible. 

Err. really pinging the community on this. But my
dream is to run Linux on Parrot.


> 
> Thanks,
> Bala.
>  Ramesh Ananthakrishnan <[EMAIL PROTECTED]>
> wrote:well,
> that part exists. a proof of concept parrot to jvm
> translator stuff has already been done. As for full
> implementation well parrot's still er... changing.
> It's still being developed and so keeps changing
> pretty fast. I wouldn't go to translation at this
> time
> as it may be pretty hard to hit the forever changing
> target that's parrot now. 
> I'm working on poring C to parrot. So that you can
> compile C programs into parrot assembly and have
> them
> work right off the bat. Once we get C across, it
> would
> b e pretty easy to port other languages and
> libraries
> to Parrot like Perl5.6, Ruby all of which have been
> built using standard C tools. (or so I hope ;-)).
> Anyway if you are intrested in it send me a line. 
> Hey Hey.... wait a minute. There's this flashing big
> light bulb. Big idea coming up! O.K. This may be
> exceedingly stupid, but why not an assembly back to
> Parrot compiler. Howzaat. We wouldn't actually have
> to
> port C just the assembly stuff and voila' it just
> works. 
> 
> cheers,
> Ramesh 
> 
> > Hi All, 
> > I am new to this parrot virtual machine aimed as
> > a common denominator for
> > perl and python. I had been going thru this list
> for
> > some time. 
> > I would like to contribute to the parrot
> > community. 
> > My interest here is - I am intereseted in
> > writing a .class file --> .parrot
> > bytecode and viceversa. In other words planning to
> > bring in the jvm
> > compatibility suite to parrot.
> > Can you please let me know if any work going on
> > relative to this or any src
> > code tree that you would me to look into.
> > 
> > Thanks in advance for letting me know this info.
> > 
> > Good luck.
> > 
> > Cheers.
> > Karthik.
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Faith Hill - Exclusive Performances, Videos & More
> > http://faith.yahoo.com
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos, & more
> faith.yahoo.com


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

Reply via email to