On 9/10/07, Samuel Agesilas <[EMAIL PROTECTED]> wrote:
[...]
> Sounds very interesting. I've been doing a lot of work writing lexers
> for Saffron so I could be of assistance if I find the time in the
> future. But I have some questions. Are you planning to do a full
> compiler that supports embedded images, fonts, sound, etc. or just an
> Actionscript one. Also what VM are you planning to target AVM1( Flash
> 8 and lower) or AVM2(Flash 9). I think a Flash 9 is needed. While
> Actionscript 3 is a great improvement it's a far cry from far more
> mature and professional languages like Objective C, C# or even Java.

oh really ?
and on what basis are you asserting that ?

> There are a lots and LOTS of things in Actionscript 3 that need to be
> added in order to make it into a mature language and I think that an
> open source AVM2 compiler would be great. This way the community
> could decided what features to add in and not some folks somewhere
> locked up in some ivory tower consortium!
>

afaik AS3 is based on a standard (ES4), the features of the language
are defined in a specification, AS3 is just one implementation of that standard
(not final yet)
you can add libraries/frameworks/whatever, but you can not change the language,
or if you do then you are on your own because it will be no more something you
can call AS3 and/or ES4.


also as soon as you target the AVM2 then you have to stay compatible
with that VM, there's no other way,
whatever symbols - compiler -> AVM2 supported symbols

the ASC (ActionScript Compiler) in the Flex SDK is planed to be open sourced
(the Java version, not the C++ version)

the current Tamarin release has a subproject named ESC (ECMAScript Compiler)
written in ES4 based on the Milestone 0) that can compile to AVM2
bytecode (*.abc),
it can be found in tamarin-central/esc

it surely my personnal taste but I would be far more interested in
compiler projects
than plan to do things like:
"let's do a xulc ala mxmlc that can compile XUL+JS2 to SWF9"
(even a XUL->MXML would be interesting)

@thomas
if you like VB, why not simply make a compiler VB->AVM2
and a least base your language on a real spec than a mutant spec
that combine a bit of VB, a bit of AS, a bit of C, etc...

cheers,
zwetan

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

Reply via email to