link:
http://blog.joa-ebert.com/2008/09/08/pixelbender-runtime-compilation/


On 11/26/08 10:42 AM, "Niels Wolf" <[EMAIL PROTECTED]> wrote:

> Very nice!
> 
> 
> On 11/25/08 1:51 AM, "Matteo Lanzi" <[EMAIL PROTECTED]> wrote:
> 
>> I read something about antlr to create lexer/ parser generator for
>> actionscript too
>> http://www.antlr.org/wiki/display/ANTLR3/Antlr3ActionScriptTarget
>> http://www.antlr.org/wiki/display/ANTLR3/Five+minute+introduction+to+ANTLR+3
>> 
>> 
>> The bad thing is that there are no actionscript grammar so you have to write
>> it to complile your parser
>> 
>> Hope helpful
>> Teo 
>> 
>> 
>> 
>>> -----Messaggio originale-----
>>> Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>>> Per conto di Mike Chambers
>>> Inviato: martedì 25 novembre 2008 1.19
>>> A: Open Source Flash Mailing List
>>> Oggetto: Re: [osflash] Runtime Interperters (was RE: Adobe Alchemy)
>>> 
>>> Yes. It is theoretically possible.
>>> 
>>> Basically, just create a SWF in memory at runtime, and then load and
>>> execute it. This has been done in the past mostly to create dynamic
>>> sounds, but you could also do it to dynamically create and execute
>>> ActionScript.
>>> 
>>> It would not necessarily be easy, and would require that you be able
>>> to parse ActionScript, and create the appropriate SWF containing the
>>> ActionScript byte code.
>>> 
>>> One solution would be to find an ActionScript parser written in C or C+
>>> + and compile that to an ActionScript library using Alchemy. Perhaps
>>> this could be done with Haxe (although I dont believe it has support
>>> for compiling AS3, and am not 100% sure what it is written in). The
>>> MXMLC compiler is written in Java.
>>> 
>>> hope that helps...
>>> 
>>> mike chambers
>>> 
>>> [EMAIL PROTECTED]
>>> 
>>> On Nov 22, 2008, at 2:28 PM, Julian Tenney wrote:
>>> 
>>>> This mght seem like a funny question, but is it possible to execute
>>>> actionscript at runtime, from code loaded from, say, xml files?
>>>> 
>>>> From: [EMAIL PROTECTED] on behalf of Don-Duong Quach
>>>> Sent: Sat 22/11/2008 00:04
>>>> To: Open Source Flash Mailing List
>>>> Subject: Re: [osflash] Adobe Alchemy
>>>> 
>>>> I don't know about the nitty gritty details about bytecode
>>>> generation from the scripts, but I guess at some level that has to
>>>> happen in the runtime or via an emulation layer.  But in plain
>>>> terms, you could run a script from another language against the
>>>> flash runtime in the same manner that for example Ruby would run on
>>>> Java's vm like in JRuby.   The main difference is that the with
>>>> Alchemy you can run the standard Ruby interpreter and not have to
>>>> build your own interpreter from scratch.
>>>> 
>>>> In Scott's Lua example he had what looked like a prompt running in a
>>>> swf and copy and pasted in code which executed in real time.  What's
>>>> max/msp?
>>>> 
>>>> 
>>>> On Fri, Nov 21, 2008 at 3:24 PM, Niels Wolf
>>> <[EMAIL PROTECTED]
>>>>> wrote:
>>>>> Since those interpreters are written in C, Scott was able to get
>>>> them running
>>>>> in flash.
>>>> 
>>>> Ok.. Here starts my confusion.. Running in flash? You mean generate
>>>> avm2
>>>> bytecode from it not like emulating comodore games in flash...?
>>>> 
>>>>> Then pasted in
>>>>> updated code to do animation.
>>>> 
>>>> Real time? Real time code update? Like max/msp?
>>>> 
>>>> Sorry.. I am just wondering.
>>>> 
>>>> Niels
>>>> 
>>>> --
>>>> Niels Wolf
>>>> Department of Interactive Media
>>>> 
>>>> MediaCatalyst
>>>> Keizersgracht 268-270
>>>> 1016 EV Amsterdam
>>>> The Netherlands
>>>> 
>>>> t. +31 (0) 20 626 2976
>>>> f. +31 (0) 20 626 4026
>>>> m. +31 (0) 634 658 783
>>>> 
>>>> www.mediacatalyst.com
>>>> 
>>>> 
>>>> _______________________________________________
>>>> osflash mailing list
>>>> [email protected]
>>>> http://osflash.org/mailman/listinfo/osflash_osflash.org
>>>> 
>>>> 
>>>> This message has been checked for viruses but the contents of an
>>>> attachment may still contain software viruses, which could damage
>>>> your computer system: you are advised to perform your own checks.
>>>> Email communications with the University of Nottingham may be
>>>> monitored as permitted by UK legislation.
>>>> 
>>>> <ATT00001.txt>
>>> 
>>> 
>>> _______________________________________________
>>> 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
> 
> Niels Wolf

Niels Wolf

-- 
Niels Wolf
Department of Interactive Media

MediaCatalyst
Keizersgracht 268-270
1016 EV Amsterdam 
The Netherlands

t. +31 (0) 20 626 2976
f. +31 (0) 20 626 4026
m. +31 (0) 634 658 783

www.mediacatalyst.com


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to