Re: Implementation options for auto-complete and symbol resolution while coding

2013-12-23 Thread Colin Fleming
As another data point, Cursive's symbol resolution in normal code editing is totally static - it doesn't use the REPL at all. When typing in the REPL window, local resolution is used for the code in the editor and the REPL is used for everything else, so that local symbols can be completed and so f

Re: Implementation options for auto-complete and symbol resolution while coding

2013-12-23 Thread Juan Martín
*John:* I had watched that talk a while ago, not sure how I got to it. The work he describes is really interesting and sounds quite herculean, something that a company like Google can do. Unluckily the project hasn't seen the public light of day yet, at least not that I know of. *Zack*: Thanks for

Re: Implementation options for auto-complete and symbol resolution while coding

2013-12-23 Thread Laurent PETIT
Hello, Food for thought: Currently Counterclockwise does 2 things: - it has an up-to-date list of symbols / keywords derived from the current editor. This of course does not need a running REPL, works as an heuristic for locals, and that's all. It won't go beyond the current file, won't show do

Re: Implementation options for auto-complete and symbol resolution while coding

2013-12-23 Thread Robert Ewald
"juan.facorro" writes: > Hi Clojurers, > [snip] > > There are parsing libraries which provide good parse trees (i.e. Parsley, > Instaparse), but my understanding is that what needs to be > mantained is a full abstract syntax tree for the whole code base and although > clojure.tools.analyzer [4]

Re: Implementation options for auto-complete and symbol resolution while coding

2013-12-20 Thread Zach Oakes
Nightcode uses Compliment for providing completion suggestions and documentation of Clojure functions: https://github.com/alexander-yakushev/compliment On Wednesday, December 18, 2013 11:27:06 AM UTC-5, juan.facorro wrote: > > Hi Clojurers, > > I'm building a tool for Clojure and I've been hitti

Re: Implementation options for auto-complete and symbol resolution while coding

2013-12-18 Thread John Wiseman
Just for background, Steve Yegge's grok project seems relevant. It is a cross-language static analysis system intended to be useable on a large scale. (And is intended to be open sourced, when it's done.) http://www.youtube.com/watch?v=KTJs-0EInW8 On Wed, Dec 18, 2013 at 8:27 AM, juan.facorro w

Implementation options for auto-complete and symbol resolution while coding

2013-12-18 Thread juan.facorro
Hi Clojurers, I'm building a tool for Clojure and I've been hitting the same bump for quite some time now, namely auto-completion and finding the definition of a symbol. After doing some research I've found that some tools rely on a running REPL to figure out where a symbol might be coming from