SmilyOrg / moonshineproject

Automatically exported from code.google.com/p/moonshineproject
0 stars 0 forks source link

Use the as3parser framework for refactoring and code generation functionality #125

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This was just released:

http://blog.teotigraphix.com/2010/08/02/announcing-the-as3parser-framework-opens
ource-project/

Full actionscript 3 parsing into a code DOM, perhaps this would be good to 
leverage in Moonshine? I can think of refactorings, code generation, code 
completion, etc.

Original issue reported on code.google.com by ihatelivelyids on 6 Aug 2010 at 7:37

GoogleCodeExporter commented 9 years ago
We'll give it a shot, just added in a basic autocompletion UI. (help 
appreciated)

Original comment by petterson.erik@gmail.com on 6 Aug 2010 at 12:43

GoogleCodeExporter commented 9 years ago
I'd love to help out, but I am quite heavily involved in the Spring 
Actionscript framework and as3commons library, these are eating up all of my 
spare time at the moment. But should I find myself with a spare weekend I'll 
certainly try to contribute, I think the effort itself is quite amazing.
Next step would be to combine the as3parser framework, as3eval and 
as3commons-bytecode libraries and build an actionscript-based actionscript 
compiler :)

Original comment by ihatelivelyids on 10 Aug 2010 at 10:07

GoogleCodeExporter commented 9 years ago
sorry to use this comment section as a spam bin, but here's another blogpost 
about this framework that shows the source generation bits quite well:
http://blog.teotigraphix.com/2010/08/10/as3parser-framework-ast-creation-now-pos
sible-as3-code-creation/

Original comment by ihatelivelyids on 10 Aug 2010 at 2:36

GoogleCodeExporter commented 9 years ago
We've built a very, very basic node-lookup thing we'll try to use to do 
autocompletion.
Currently it's being done in AS3, but I'm pretty sure it will move to Java once 
the basics are figured out (for speed & non-blocking action).

For web-only versions we might still be able to use it though.
I'll check it in once it does dot-completion fully (need to parse & toss stuff 
into a DB too, big task) =)

Original comment by petterson.erik@gmail.com on 23 Aug 2010 at 7:42

GoogleCodeExporter commented 9 years ago
We started to move the code over to java using flexPMD for real-time lookup and 
the flexSDK for class signature building to be used with our sqlite db. Some 
early work is in the svn, check it out.

Original comment by keystonc...@gmail.com on 27 Aug 2010 at 9:52

GoogleCodeExporter commented 9 years ago
We now have a fairly decent version on SVN that does completion/parsing based 
on asblocks (which is as3parsers new name). It's blocking, but overall it's not 
/that/ slow.

Original comment by petterson.erik@gmail.com on 12 Nov 2010 at 6:09