Fork me on GitHub
#off-topic
<
2018-05-04
>
val_waeselynck14:05:23

Programmers hate spam.

πŸ˜‚ 3
πŸ‘ 1
jimmy14:05:44

I find this code2flow thing is quite useful to draw flowchart. https://code2flow.com/ Is there any equivalent lib in Clojure which can do the same thing? It’d be great.

dominicm14:05:18

That's really neat

javi15:05:36

@nxqd this is similar... just needs the clojure code analysis to nomnoml dsl http://www.nomnoml.com/

πŸ‘ 2
javi15:05:04

I am using it to try to viz clara rules

3Jane15:05:43

the basic option is that you could generate DOT files and use graphviz

πŸ‘ 1
3Jane15:05:38

if you’re happy to use a webtool, http://gravizo.com accepts DOT files as get param iirc

seancorfield15:05:18

The spammer, Android Nerd, has been deactivated. If you find his messages in any channels, let me know and I'll delete them.

πŸ‘ 6
dpsutton16:05:16

@dnolen was looking into your delimc project this morning and going over the references (thanks for including those!). On a scale from throwaway experiment to production ready where would you put that project? I'm sure it would need a little love but just wondering if you had had an instinct of whether it could be dependable or if it was just a fun experiment

tbaldridge17:05:18

The fact that it's 6 years old would make me pause πŸ˜„

dpsutton17:05:16

Agree. Just trying to gauge if it's fundamentally sound or a toy to explore with

dpsutton17:05:27

It's from the days when clojure was a lisp

dpsutton17:05:46

Just joking. Just feels like there were a lot more "lispy" experiments back then

bronsa17:05:19

I'm not sure I would suggest using libraries that do control flow rewriting that are not based on tools.analyzer, not because I'm the author of t.a. but because this stuff is hard and capturing all the semantics of clojure is really hard -- core.match has some issues around using recur for example, and it doesn't even really do control flow rewriting of code

πŸ‘ 1
bronsa17:05:02

using one of t.a or the cljs analyzer or interopping with the clojure compiler (like core.typed did) are all fine for me, OTOH hand rolling a clojure analyzer is bound to create massive breakage of edge-cases

πŸ‘ 1
dpsutton17:05:39

Yeah. T.a is on my list of things to learn. Thanks for the feedback

dpsutton17:05:34

Have you written any stuff about it?

dpsutton17:05:44

I would buy that book in a heart beat

bronsa17:05:11

no, I've been meaning to blog about it for the past 5 years but inertia 😬

πŸ‘ 1
bronsa17:05:27

(I'm way more obsessive than others about getting edge cases right, so maybe the lack of a fully clojure compliant analysis is not going to be much of a problem in practice, I haven't actually looked at delimc)