Monday, April 11, 2011

PHP to ActionScript code converter

Does anyone know of a PHP to ActionScript code converter?

From stackoverflow
  • They are fundamentally different languages. I don't think a converter exists. The fourth dimension of time doesn't even exist in PHP.

  • I highly doubt it. Once you get beyond the basic functionality it would be almost impossible to "translate" one to the other. PHP has thousands of standard built-in functions, custom AS implementations of all of those would have to be written.

    Was there something in particular you're trying to do?

    lajos : I need to convert a bunch of functions that do basic math calculations.
    Martin : Chances are that those functions actually are pretty similar. Similar, though. Not identical! But you might get the work done over a couple of beers one afternoon.
  • Not exactly, but the haxe language http://haxe.org/ will compile to both Actionscript and PHP.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.