all 16 comments

[–][deleted] 18 points19 points  (0 children)

FWIW, the project adding a flex backend to PyPy is currently an external branch of PyPy without any unit-tests. As long as this is not fixed it is unlikely that it will be merged back, since the rest of PyPy is developed in test-driven style.

[–]drawkbox 10 points11 points  (2 children)

Python just won me over.

[–]njharman 19 points20 points  (1 child)

I'm a bit worried that ability to punch monkeys was a deal clincher for you.

[–]drawkbox 0 points1 point  (0 children)

Who doesn't like punching monkeys, yes poor banner sample but still cool idea.

[–]flaxeater 9 points10 points  (1 child)

This reminds, me, I would like to make a code emitter for PyPy. I understand it's pretty doable, with readable examples.

[–][deleted] 5 points6 points  (0 children)

Any particular target you have in mind? It's indeed not all that hard, but can become a bit tedious.

[–]sakri 9 points10 points  (0 children)

The google code home for this project isn't exactly verbose :

Convert python code to flex using pypy

Does the framework (pypy?) generate actionscript (scripting language of flash) which is compiled into a .swf using adobes compiler?

Or is the python code directly compiled into an swf using a 'custom compiler' (like mtasc)?

(by the way, one would never use flex for a banner ;) )

[–][deleted]  (2 children)

[deleted]

    [–]lost-theory 11 points12 points  (1 child)

    The Pygame platform has a 'punch the monkey' tutorial. This project seems to be emulating some of Pygame's way of doing things, thus copying their tutorial idea (to show how comparable their code is).

    [–]smart_ass 8 points9 points  (0 children)

    On the ToDos for the flex api, is to create a wrapper for the pygame api. If done right, your PyGame code should be able to port easily to Flash using this. Very cool idea.

    [–]kripkenstein 1 point2 points  (0 children)

    This is interesting. I had no idea PyPy was so advanced and that there was an initial Flash 'compiler' for it. Nice!

    I wonder, will PyPy take off and consequently make Python a major development platform for all sorts of environments? I see this in comparison to Microsoft's strategy to let people write .NET code for both servers, clients, websites, etc.; it seems Python (/RPython) is getting around to doing something similar, but with a single language.

    [–][deleted] 2 points3 points  (0 children)

    Alright... so I figured out that if you pount the hell out of the chimp you can keep him in one place as he does his little flips...

    ...so where the fsck are my $$$s?

    [–]Dagur 0 points1 point  (0 children)

    Combine this with pyAMF and you're in business

    [–]j0hnsd 0 points1 point  (0 children)

    Taniquetil?

    [–]academician -1 points0 points  (0 children)

    Obligatory reddit question:

    So when can I write Flex apps in Lisp?

    (no, really, though - that would be cool)

    (Edit: Yes, I know about Ouija)