Since those interpreters are written in C, Scott was able to get them running in flash. For instance, he took some Perl code (he also had Perl interpreter compiled) and ran it a "99 bottles of beer" script in the interpreter. He did the same for Lua but wrote some code to render a sprite. Then pasted in updated code to do animation.
He had the Python interpreter and some basic libs all compiled down to 1.63MB swf. On Fri, Nov 21, 2008 at 10:15 AM, Niels Wolf <[EMAIL PROTECTED]>wrote: > > presentation about Alchemy. He had some amazing demos like the Ruby, > Python, > > and Lua interpreters running in Flash 10 with access to the Flash object > model > > to do rendering. Scott put up a slide describing the opcodes and I > should > > have brought a notepad, but Nicolas already got to them! Thanks Nicolas! > > Interpreters inside flash? Can you explain what you mean by that? > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org >
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
