Re: [ANN] jvm.tools.analyzer / clr.tools.analyzer

2013-03-13 Thread Rich Morin
On Mar 13, 2013, at 14:08, kovas boguta wrote: > On Wed, Mar 13, 2013 at 1:27 PM, Rich Morin wrote: > >> I agree, for your reasons and others. For example, I don't think a codeq >> should say much about _any_ symbol the code references. >> >> However, that seems to create a disconnect. If code

Re: [ANN] jvm.tools.analyzer / clr.tools.analyzer

2013-03-13 Thread kovas boguta
On Wed, Mar 13, 2013 at 1:27 PM, Rich Morin wrote: > I agree, for your reasons and others. For example, I don't think a codeq > should say much about _any_ symbol the code references. > > However, that seems to create a disconnect. If codeq is tracking raw code, > and the AST reflects expanded

Re: [ANN] jvm.tools.analyzer / clr.tools.analyzer

2013-03-13 Thread Rich Morin
On Mar 13, 2013, at 13:05, kovas boguta wrote: > On Wed, Mar 13, 2013 at 9:52 AM, Ambrose Bonnaire-Sergeant wrote: >> How useful is a fully macroexpanded AST to Codeq? ... > > I am strongly of the opinion that macroexpansion should not be part of > a codeq's core definition. ... I agree, for y

Re: [ANN] jvm.tools.analyzer / clr.tools.analyzer

2013-03-13 Thread kovas boguta
On Wed, Mar 13, 2013 at 9:52 AM, Ambrose Bonnaire-Sergeant wrote: > How useful is a fully macroexpanded AST to Codeq? There are line numbers > associated > with the AST nodes, and column numbers if you're using Clojure 1.5.0+. I am strongly of the opinion that macroexpansion should not be part of

Re: [ANN] jvm.tools.analyzer / clr.tools.analyzer

2013-03-13 Thread Rich Morin
On Mar 13, 2013, at 09:52, Ambrose Bonnaire-Sergeant wrote: > How useful is a fully macroexpanded AST to Codeq? Let's decomplect this question a bit, eg: * How useful is an AST to Codeq? Rich Hickey's Clojure analyzer only harvests def* and ns forms. So, for example, it says nothing about symbo

Re: [ANN] jvm.tools.analyzer / clr.tools.analyzer

2013-03-13 Thread Ambrose Bonnaire-Sergeant
How useful is a fully macroexpanded AST to Codeq? There are line numbers associated with the AST nodes, and column numbers if you're using Clojure 1.5.0+. Ambrose On Thu, Mar 14, 2013 at 12:48 AM, Rich Morin wrote: > On Mar 13, 2013, at 09:21, Ambrose Bonnaire-Sergeant wrote: > > I have two rec

Re: [ANN] jvm.tools.analyzer / clr.tools.analyzer

2013-03-13 Thread Rich Morin
On Mar 13, 2013, at 09:21, Ambrose Bonnaire-Sergeant wrote: > I have two recently created contrib projects to help use analysis > results for Clojure and ClojureCLR. Have you considered whether an how this information could be used as part of Codeq's analysis phase? For example, how hard would it