5 ms·
Sorry for the tangential question - does Clojure play nice with org-babel? Can this notebook interface be used with org-babel?
by hatmatrix 5y ago
Sorry for the tangential question - does Clojure play nice with org-babel? Can this notebook interface be used with org-babel?
- sleepycatgirl 5y agoClojure certainly works with org-babel, though in my experience, there must be done one thing - You have to start Clojure repl, and then jack in with cider, and only then you can evaluate code blocks. Here is a bit more info regarding it itself. https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-...
- nanomonkey 5y agoBabashka works exceedingly well with org-babel, much nicer than using Clojure directly as you don't have to worry about setting up a project, namespace and connecting with cider. See the following gist: https://gist.github.com/adam-james-v/f4d2b75a70b095d14a351a1eff96b4b0 https://gist.github.com/adam-james-v/f4d2b75a70b095d14a351a1... And example code: https://github.com/adam-james-v/bb-draw/blob/main/bb-draw.org https://github.com/adam-james-v/bb-draw/blob/main/bb-draw.or...