<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent activity in tools.analyzer</title>
<link>https://ask.clojure.org/index.php/activity/contrib-libs/tools-analyzer</link>
<description></description>
<item>
<title>Commented: Sub-optimal coding technique in clojure.tools.analyzer.utils ?</title>
<link>https://ask.clojure.org/index.php/12962/sub-optimal-coding-technique-clojure-tools-analyzer-utils?show=12970#c12970</link>
<description>It is an alternative, but implementing a new core function common to multiple platforms is going to take a lot longer.</description>
<category>tools.analyzer</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12962/sub-optimal-coding-technique-clojure-tools-analyzer-utils?show=12970#c12970</guid>
<pubDate>Tue, 30 May 2023 04:57:01 +0000</pubDate>
</item>
<item>
<title>`Ambiguous method signature for method: close` thrown where clojure.core wouldn't</title>
<link>https://ask.clojure.org/index.php/10391/ambiguous-method-signature-method-thrown-clojure-wouldnt</link>
<description>&lt;p&gt;The following code will throw an exception:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;(ana.jvm/analyze '(reify
                    java.io.Closeable
                    (close [_])
                    example.foo/EventClient
                    (close [_])))
                    ;; =&amp;gt; clojure.lang.ExceptionInfo: Ambiguous method signature for method: close
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;...where &lt;code&gt;example.foo/EventClient&lt;/code&gt; is a a real, resolvable defprotocol that does in fact define a &lt;code&gt;close [_]&lt;/code&gt; method.&lt;/p&gt;
&lt;p&gt;Here is a reproducible patch that can be applied over &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/clojure/tools.analyzer.jvm/commit/f00d92317307c3e9e326fd99d337292925dc9db1&quot;&gt;https://github.com/clojure/tools.analyzer.jvm/commit/f00d92317307c3e9e326fd99d337292925dc9db1&lt;/a&gt; :&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://gist.githubusercontent.com/vemv/ae450c380ac96683bc06275323e7e322/raw/91ad4b60502b32f4f57bd0d5707bcf51740f8e7b/gistfile1.patch&quot;&gt;https://gist.githubusercontent.com/vemv/ae450c380ac96683bc06275323e7e322/raw/91ad4b60502b32f4f57bd0d5707bcf51740f8e7b/gistfile1.patch&lt;/a&gt;&lt;/p&gt;
</description>
<category>tools.analyzer</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10391/ambiguous-method-signature-method-thrown-clojure-wouldnt</guid>
<pubDate>Thu, 01 Apr 2021 17:15:51 +0000</pubDate>
</item>
<item>
<title>Edited: Form emitting by cljs.analyzer</title>
<link>https://ask.clojure.org/index.php/9524/form-emitting-by-cljs-analyzer?show=9524#q9524</link>
<description>&lt;p&gt;Hi!&lt;br&gt;
I want to write a code to code compiler for both Clojure and ClojureScript.&lt;br&gt;
So I need something like &lt;code&gt;clojure.tools.analyzer.passes.js.emit-form/emit-form&lt;/code&gt;, but tools.analyzer.js is abandoned and &lt;code&gt;cljs.analyzer&lt;/code&gt; can't emit clojure form from AST.&lt;/p&gt;
&lt;p&gt;How can I write my code transformation in terms of AST with &lt;code&gt;tools.analyzer.jvm&lt;/code&gt; and &lt;code&gt;cljs.analyzer&lt;/code&gt;? &lt;br&gt;
Should I use both &lt;code&gt;cljs.analyzer&lt;/code&gt; and  &lt;code&gt;clojure.tools.analyzer.passes.js.emit-form/emit-form&lt;/code&gt;? &lt;/p&gt;
&lt;p&gt;Can I use &lt;code&gt;clojure.tools.analyzer.ast/walk&lt;/code&gt; with &lt;code&gt;cljs.analyzer&lt;/code&gt;?&lt;/p&gt;
&lt;p&gt;How to use passes in terms of &lt;code&gt;tools.analyzer&lt;/code&gt; with &lt;code&gt;cljs.analyzer&lt;/code&gt;? I think it's impossible.&lt;/p&gt;
</description>
<category>tools.analyzer</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9524/form-emitting-by-cljs-analyzer?show=9524#q9524</guid>
<pubDate>Wed, 05 Aug 2020 13:13:58 +0000</pubDate>
</item>
<item>
<title>Answered: Datalog in clojure.tools.analyzer.query-test not working</title>
<link>https://ask.clojure.org/index.php/7591/datalog-in-clojure-tools-analyzer-query-test-not-working?show=7597#a7597</link>
<description>Reference: &lt;a href=&quot;https://clojure.atlassian.net/browse/TANAL-129&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://clojure.atlassian.net/browse/TANAL-129&lt;/a&gt; (reported by jlane)</description>
<category>tools.analyzer</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/7591/datalog-in-clojure-tools-analyzer-query-test-not-working?show=7597#a7597</guid>
<pubDate>Wed, 26 Jun 2019 12:00:00 +0000</pubDate>
</item>
<item>
<title>Answered: tools.analyzer.jvm eval's arglists metadata differently in emitted Clojure code?</title>
<link>https://ask.clojure.org/index.php/7590/tools-analyzer-arglists-metadata-differently-emitted-clojure?show=7596#a7596</link>
<description>Reference: &lt;a href=&quot;https://clojure.atlassian.net/browse/TANAL-126&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://clojure.atlassian.net/browse/TANAL-126&lt;/a&gt; (reported by jafingerhut)</description>
<category>tools.analyzer</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/7590/tools-analyzer-arglists-metadata-differently-emitted-clojure?show=7596#a7596</guid>
<pubDate>Wed, 26 Jun 2019 12:00:00 +0000</pubDate>
</item>
<item>
<title>Answered: Convert clojure.lang.Compiler/analyze to a map conforming to tools.analyzer.jvm</title>
<link>https://ask.clojure.org/index.php/7589/convert-clojure-compiler-analyze-conforming-tools-analyzer?show=7595#a7595</link>
<description>Reference: &lt;a href=&quot;https://clojure.atlassian.net/browse/TANAL-113&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://clojure.atlassian.net/browse/TANAL-113&lt;/a&gt; (reported by ambrosebs)</description>
<category>tools.analyzer</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/7589/convert-clojure-compiler-analyze-conforming-tools-analyzer?show=7595#a7595</guid>
<pubDate>Wed, 26 Jun 2019 12:00:00 +0000</pubDate>
</item>
<item>
<title>Answered: Fix method matcher</title>
<link>https://ask.clojure.org/index.php/7588/fix-method-matcher?show=7593#a7593</link>
<description>Reference: &lt;a href=&quot;https://clojure.atlassian.net/browse/TANAL-100&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://clojure.atlassian.net/browse/TANAL-100&lt;/a&gt; (reported by bronsa)</description>
<category>tools.analyzer</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/7588/fix-method-matcher?show=7593#a7593</guid>
<pubDate>Wed, 26 Jun 2019 12:00:00 +0000</pubDate>
</item>
<item>
<title>Answered: Simplify tag handling for castings/nil insertion/value popping</title>
<link>https://ask.clojure.org/index.php/7587/simplify-tag-handling-for-castings-insertion-value-popping?show=7592#a7592</link>
<description>Reference: &lt;a href=&quot;https://clojure.atlassian.net/browse/TANAL-84&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://clojure.atlassian.net/browse/TANAL-84&lt;/a&gt; (reported by bronsa)</description>
<category>tools.analyzer</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/7587/simplify-tag-handling-for-castings-insertion-value-popping?show=7592#a7592</guid>
<pubDate>Wed, 26 Jun 2019 12:00:00 +0000</pubDate>
</item>
</channel>
</rss>