Re: Flex CodeScape ...

2012-10-02 Thread Clint Modien
For this type of output you may want to checkout the pre existing compiler option -link-report=AFileName.xml On Sep 28, 2012, at 1:16 PM, Erik Lundgren wrote: > That sounds really cool. > > Some simple structure to start with ... > > somePackage > - - qualifies SomeType > - - - which is a Sup

Re: Flex CodeScape ...

2012-10-01 Thread Erik Lundgren
Sounds great! If you could output xml it would be great. /E. 1 okt 2012 kl. 12.32 skrev Michael Schmalle: > I'm working on a documentor framework right now that uses output target > renderers. This will be a perfect prototype experiment for an output type. > > Give me a bit of time and I can

Re: Flex CodeScape ...

2012-10-01 Thread Michael Schmalle
Quoting Roland Zwaga : So yes, if you can image a fully parsed source list with all the trimmings sitting in a class that has an API; Collection<**IFunctionDefinition> getFunctions(ITypeDefinition definition, String visibility, boolean inherit); Collection getSubClasses(IClassDef

Re: Flex CodeScape ...

2012-10-01 Thread Roland Zwaga
> > > So yes, if you can image a fully parsed source list with all the trimmings > sitting in a class that has an API; > > Collection<**IFunctionDefinition> getFunctions(ITypeDefinition definition, > String visibility, boolean inherit); > > Collection getSubClasses(IClassDefinition defi

Re: Flex CodeScape ...

2012-10-01 Thread Michael Schmalle
Quoting Roland Zwaga : Hey Mike, do you think your framework could also form a basis for static analysis tools such as FlexPMD/CPD et al? If the parsing is so much faster than perhaps these existing tools could be re-written to use the new compiler. I myself know absolutely nothing about stat

Re: Flex CodeScape ...

2012-10-01 Thread Roland Zwaga
> > Yeah took a look at the PDF, there are some things that need to be thought > about. I'm not really at the point where I could even begin to think about > this part. > > Hopefully others might take an interest when the framework is up and could > help contribute then. > > BTW the "framework" her

Re: Flex CodeScape ...

2012-10-01 Thread Michael Schmalle
Ok, Yeah took a look at the PDF, there are some things that need to be thought about. I'm not really at the point where I could even begin to think about this part. Hopefully others might take an interest when the framework is up and could help contribute then. BTW the "framework" here

Re: Flex CodeScape ...

2012-10-01 Thread Michael Schmalle
An note to others about documentation; I would just like to state that for some reason I have a passion for documentation, maybe it's that manuals or schematics give way to a greater awareness of the underlying machine. In the case of the Flex framework I have followed it since it's version

Re: Flex CodeScape ...

2012-10-01 Thread Roland Zwaga
On 1 October 2012 13:21, Michael Schmalle wrote: > Quoting Roland Zwaga : > > > >> Perhaps it would be an idea to output UML? Or would this be overkill? >> >> > > Well Roland, spitting out UML would be as easy as knowing what to spit > out. :) Is there an UML-XML spec somewhere for existing edito

Re: Flex CodeScape ...

2012-10-01 Thread Michael Schmalle
Quoting Roland Zwaga : Perhaps it would be an idea to output UML? Or would this be overkill? Well Roland, spitting out UML would be as easy as knowing what to spit out. :) Is there an UML-XML spec somewhere for existing editors to be able to load? I have used StarUML for years, so I am

Re: Flex CodeScape ...

2012-10-01 Thread Roland Zwaga
I'm working on a documentor framework right now that uses output target renderers. This will be a perfect prototype experiment for an output type. > > Give me a bit of time and I can get this stable as I have said in some > previous posts. I'll add the initial code to my whiteboard and we can go >

Re: Flex CodeScape ...

2012-10-01 Thread Michael Schmalle
I'm working on a documentor framework right now that uses output target renderers. This will be a perfect prototype experiment for an output type. Give me a bit of time and I can get this stable as I have said in some previous posts. I'll add the initial code to my whiteboard and we can g

Re: Flex CodeScape ...

2012-09-28 Thread Erik Lundgren
That sounds really cool. Some simple structure to start with ... somePackage - - qualifies SomeType - - - which is a SuperTypeA, an ITypeB and an ITypeC - - - which is publicly (public, internal, protected, custom namespace) associated with TypeE, F and G - - - wich is privately (private) associ

RE: Flex CodeScape ...

2012-09-28 Thread teotigra
Wow, I'm over thinking things here. I guess I just want some more experiments with the compiler. I was just thinking grabbing AST would give an immense freedom of the types of things you wanted like members, metadata, comments etc. Gordon, I still can't gt over how fast that code is. Mike

RE: Flex CodeScape ...

2012-09-28 Thread Gordon Smith
The catalog.xml file inside each SWC file (framework.swc, spark.swc, etc.) has an XML encoding of the direct dependencies of each class in the SWC. - Gordon Smith, Adobe -Original Message- From: Erik Lundgren [mailto:e...@lndgrn.se] Sent: Friday, September 28, 2012 11:39 AM To: flex-dev

Re: Flex CodeScape ...

2012-09-28 Thread Michael Schmalle
I have been working with the new compiler and all I can say is this would be something very easy to create if I knew what type of "graph" you wanted and the schema of such graph. Let me know some details if interested in creating something that would actually make it. (meaning I could write