jvm.tools.analyzer documentation?

25 views
Skip to first unread message

Di Xu

unread,
Mar 2, 2014, 8:27:35 AM3/2/14
to clojure-c...@googlegroups.com
Hi

core.typed uses jvm.tools.analyzer internally, but I failed to find any documentation or material describe the output format. Is there any?

Thanks

Ambrose Bonnaire-Sergeant

unread,
Mar 2, 2014, 8:46:18 AM3/2/14
to core.typed
Hi Di,

Not really. Here's some outdated core.typed types describing the output. Otherwise you need to trace the output from this multimethod.

I'm porting core.typed to use tools.analyzer.jvm instead. It's getting there, I have 16 unit tests failing. FWIW I'm sketching the output format for tools.analyzer.jvm here.

Thanks,
Ambrose

Di Xu

unread,
Mar 2, 2014, 9:28:52 AM3/2/14
to clojure-c...@googlegroups.com
OK, Thanks

I'm just reading the code of `check-funapp` in check.clj, just need some reference. From diff, master and tools-analyzer don't have any diff in check-funapp, so I'm better read code in master.

Ambrose Bonnaire-Sergeant

unread,
Mar 2, 2014, 9:37:30 AM3/2/14
to core.typed
Yea check-funapp works with TCResults, which is the result of type checking an AST expression. It won't change with the port to tools.analyzer.

Ambrose
Reply all
Reply to author
Forward
0 new messages