问题
Is it possible to have actionscript 3 as a console app? I want to play around with the language and do basic things like hello world and inheritances or file IO if thats allowed. Is there a REPL or a compiler (that will allow me to write a console app) for actionscript 3?
回答1:
If you're serious about command line as3 you should have a look at redtamarin, based off the Mozilla Tamarin project:
http://code.google.com/p/redtamarin/
Though I think the complexity of building the tools might defeat the purpose of a "hello world" situation? Depends if you're looking for proper command line tools or just experimentation.
来源:https://stackoverflow.com/questions/9440435/actionscript-3-as-a-console-app