Fork me on GitHub
#announcements
<
2020-02-23
>
benedek10:02:13

new version of https://github.com/benedekfazekas/morpheus available. morpheus can generate graphs of a project’s variables. new version generates navigable SVGs. it also implements datafy protocols if you want to use the API instead of the CLI. powered by clj-kondo

vemv11:02:00

interesting! what kind of question would be answered by these graphs?

benedek11:02:00

suppose it helps you visualise the dependencies of a given function in your code on the var level

borkdude11:02:18

Thanks, awesome stuff

avichalp11:02:46

Its interesting. I was thinking if I am new to a code base, maybe visualizing a function this way might help. But I am still yet to try.

benedek11:02:10

maybe the graph could be used to spot things in the code that could be refactored — like a function which bridges two other functions but has no other incoming or outgoing edges: maybe good candidate to inline

benedek11:02:46

yeah good use case too @

dev96411:02:32

do you see it could be integrated into editors?

benedek12:02:52

don't see any reason why not. apart from dependency on graphiz being installed

vemv18:02:25

> suppose it helps you visualise the dependencies of a given function in your code on the var level ah, like a clj-refactor.el find-usages. great!

otfrom08:02:15

I've used lein plugins like this before to understand an unfamiliar code base and refactor it. This is awesome!

benedek09:02:48

thanks @ :)

liquidz.uo22:02:54

I just released vim-iced v1.0.0, Clojure Interactive Development Environment for Vim8/Neovim https://twitter.com/uochan/status/1231707071940194304

jason35822:02:59

Is there some "why vim-iced?", or/and something about differences from existing vim clojure plugins (like e.g. fireplace)?

liquidz.uo22:02:17

@ Currently, there is no comparison with other vim plugins.

pez06:02:56

Looks super nice!

regen13:02:45

@ I think writing something like that would be difficult since the plugins change all the time. Based on my experience with both, vim-fireplace has a quasi-repl and supports evaluating code in a buffer, while vim-iced only does the latter. vim-iced is a more complete solution, in that you just run iced repl and it will start your lein/boot/deps project, without having to tweak the configs to add nrepl and so on.

regen13:02:23

I could probably go on with mentioning all the differences, but maybe this isn't the right place [=