I think another compiler with a focus on more efficient bytecode would
be great, but those extra convenience features give me an uneasy
feeling ("embrace and extend" has caused too many problems already).So, my feature request would be an export functionality to remove all those extra features from the code, where all comments and formatting would be kept intact, and a --vanilla compiler setting that enforces compliance with "standard" Adobe AS3 (better yet, a required --convenient setting to enable them). That way, there would be no fear of vendor lock-in or compatibility issues. Also, it might be a good idea to have a special suffix to indicate that it's "special" AS3 -- maybe some possible acronym for "Action Script Special". :) haXe has an AS3 generator for that very reason. But, those fears aside, would it be possible to build on the work that was done for Alchemy and use LLVM to generate the bytecode? AFAIK, it has very good optimization already. According to the third post in this thread, it should be possible to use normal LLVM with AlchemyĆs llc binary: <http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=755&threadid=1407226> Mark On Wed, Jan 7, 2009 at 5:28 PM, Matthias Kramm <[email protected]> wrote: > On Wed, Jan 07, 2009 at 09:27:06AM -0500, Merrill, Jason > <[email protected]> wrote: >> You may want to look at the haxe language and compiler which already >> does what you're trying to do and see if you can compete with that > > haxe is a nifty project. But they're inventing their own language, > which is only similar to (and not quite identical with) ActionScript. > > My goal is to be fully compatible with the ActionScript > compiler in Flash CS4 and Flex, but hopefully produce smaller output files > (Flex's code generator, in particular, is producing somewhat bloated > bytecode right now) and also offer the aforementioned syntax enhancements. > > Btw.: Thanks for all the great suggestions so far! > > Greetings > > Matthias > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

