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 - or at least find out 
what it does that you would like to do - this thread may be better suited for 
the osflash list only because this is the kind of thing they talk about and 
have lots of expertise on over there.


Jason Merrill
Bank of America     Instructional Technology & Media   ·   GCIB & Staff Support 
L&LD

Interested in Flash Platform technologies?  Join the Bank of America Flash 
Platform Developer Community 
Interested in innovative ideas in Learning?  Check out the Innovative Learning 
Blog and subscribe.





-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Matthias Kramm
Sent: Tuesday, January 06, 2009 5:30 PM
To: Flash Coders List
Subject: [Flashcoders] ActionScript syntax enhancements?

Hi All,

I'm currently in the process of writing a compiler for
ActionScript 3.0.
(In case you're interested, the "development snapshot" at
 http://www.swftools.org/download.html already contains
 a pre-alpha command-line tool, called as3compile(.exe))

Now, I'm thinking about adding an "extended mode" to this 
compiler, which will support some additional convenience 
features which are not currently part of the ECMA spec. 

Right now, ideas on my list are things like [a,b,c,] or
{a:b, c:d, e:f, } array/object declarations (allowing the
trailing comma makes it easier to shift elements around 
especially for multi-line structures), try/catch/else, 
for/else, and keyword arguments (functioncall(x=3,y=4)).

I'd be interested to know what other syntax extensions you
can think of that would make life easier for you when
you're writing ActionScript?

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

Reply via email to