Flython?

Christopher T King squirrel at WPI.EDU
Thu Aug 12 16:47:08 EDT 2004


On Thu, 12 Aug 2004, Peter Hansen wrote:

> In the vein of Jython, I wonder what it would take to build
> a Flython?  (Lousy name, I know.)  That would take Python
> source, presumably a subset since some things couldn't be supported,
> and compile it into ActionScript bytecode (aka the bytecode compiled
> from ECMAScript source for the Macromedia Flash player environment).

I don't know much about ActionScript bytecode, but I think a general
Python -> ECMAScript translator wouldn't be too hard (presuming a Python
subset is acceptable).  ECMAScript variables are untyped, so that should
ease translation some.  Sounds like my weekend project!




More information about the Python-list mailing list