On 9/8/16, 9:56 PM, "santanu4ver" <santanu4...@gmail.com> wrote:
>Hi Alex, > >I was looking into the Falcon description page here: >https://cwiki.apache.org/confluence/display/FLEX/Falcon+Overview which >confirms your opinion/suggestion on Falcon's code to use for >code-completion >to an IDE: > > >cwiki.apache.org wrote >> It should be useful as a code-intelligence engine and incremental >>compiler >> for an integrated development environment, and not just as a >>command-line >> compiler. > >As a complete beginner to understand Falcon, can you give us or point us >to >some more details on this? We would like to know what is Falcon's AST >codes, >where we can found this? If anyway we able to port the codes to an ANE, >can >you give suggestion how it should act to an IDE's code, how an IDE should >communicate to it to extract necessary code completion hints. Read the Architecture section of that wiki page. It may not make a lot of sense right now, but a goal is for you to eventually understand it. I haven't worked with how Falcon was used for code-completion in Flash Builder, but you may not need to understand the AST portion of Falcon at all. I think all you really need to know about is the Workspace, FlexProject, CompilerProblems, Definitions, and InvisibleCompilationUnit. I haven't worked with InvisibleCompilationUnit, but I believe it is how you send a file of text to be compiled without actually saving it to a file. The compilation generates not just an AST, but also a set of CompilerProblems and Definitions. HTH, -Alex