Search the web
Sign In
New User? Sign Up
metal-dev · MetaL Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Converting PHP, Perl, Python, etc to Metal?   Message List  
Reply | Forward Message #530 of 553 |
Are there tools to convert PHP/Perl/Python/etc to Metal?

When I see:

function addargs ($x,$y) {$z=$x+y; return $z;}

I think (using brackets because some mail clients don't like angle brackets):

[function name="addargs"]
[arglist]
[arg name="x" type="unknown"]
[arg name="y" type="unknown"]
[/arglist]
[body]
[line]z=x+y[/line]
[return]z[/return]
[/body]
[/function]

I realize that's not perfect Metal, but you get the idea.

I know PHP/Perl etc all have a "lexical/tokenizing" step when they're
compiled-- could they be converted to Metal at that step?

--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.



Sat May 24, 2008 8:54 pm

kelly.terry.jones@...
Send Email Send Email

Forward
Message #530 of 553 |
Expand Messages Author Sort by Date

Are there tools to convert PHP/Perl/Python/etc to Metal? When I see: function addargs ($x,$y) {$z=$x+y; return $z;} I think (using brackets because some mail...
Kelly Jones
kelly.terry.jones@...
Send Email
May 24, 2008
9:34 pm

Hello, ... AFAIK there are no tools for converting between languages. It is a possibility, but the MetaL project did not went into that direction. Nowadays,...
Manuel Lemos
mallemos
Offline Send Email
May 28, 2008
7:13 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help