Hello,
on 05/24/2008 05:54 PM Kelly Jones said the following:
> 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?
AFAIK there are no tools for converting between languages. It is a
possibility, but the MetaL project did not went into that direction.
Nowadays, most of the development has been done on the persistence
module which the base of Metastorage ORM code generation tool.
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/