GOAL : I want to create a free educational tool that will allow you to write code and execute in the same app. ( preferably AS3 )
Essentially I want to be able to have a IDE written inside an Air Application and then run the code / execute inside the same application.
I'm not looking to create external files all i need is to run/execute the code from the text field. I was wondering if it's possible to use @mxmlc inside Air to do live coding.
Or perhaps any ANE's or native Android methods to archive the same goal. ( im assuming if it's possible to archive with android native code, then an ANE could be easily created )
Also i though maybe creating a limited library of all the essential Flash display library - so once i hit run in the Air app it will scan all the source code, and using a string search algorithm -> execute a list of precompiled classes inside the same app ( graphics API, display List, basic math logic, etc. ). I understand that method doesn't have to specifically target the AS3 language. But i would like to avoid creating my own language for that purpose.
Not familiar with mxmlc but i did read somewhere that it's possible to execute code on a server with maven. In that case would it be possible to send the user written source code to the server, receive back the compiled SWF file and upload it back to the app in the run-time ?
Aucun commentaire:
Enregistrer un commentaire