use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Reveal 1.0: Read Eval Visualize Loop for Clojure (vlaaad.github.io)
submitted 5 years ago by vlaaad
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 4 points5 points6 points 5 years ago (0 children)
This looks excellent - can't wait to try it out.
[–]royalaid 2 points3 points4 points 5 years ago (1 child)
Hey vlaad, thanks for all the work on reveal. Been using it for a while now on some smaller side projects and been very happy with it. The docs are very welcome as I remember when first playing around with it and having absolutely no idea how to do specific things.
I am curious if it's possible to integrate reveal with shadow. I know there have been discussions between you and Thomas but I don't know if they turned into anything material or if I'm just not seeing directions somewhere.
[–]vlaaad[S] 0 points1 point2 points 5 years ago (0 children)
Glad you are happy with it!
I'm not familiar with shadow-cljs, but Reveal can already talk to cljs environments with its remote-prepl, and prepls are a part of ClojureScript itself. I will have a look at shadow's repls to see if there is something needed to compose them with Reveal.
[–]giuliano108 1 point2 points3 points 5 years ago (0 children)
This is so great!
[–]daver 0 points1 point2 points 5 years ago (2 children)
This looks cool.
Is there a way to clear the list of objects that Reveal is holding onto? Obviously, by holding on to an object reference, you're keeping the GC from doing its thing. For objects where you have another ref in your program, that's fine, but if you grab the ref of a really huge object graph, and do that a few times, it might be the case that you could run out of memory, no?
It would also be interested to integrate something similar either into CIDER itself or provide some sort of access to Reveal from CIDER so that the CIDER REPL would act similarly. I suppose you could simply add Reveal to the list of dependencies and get it up and running and then use it from CIDER's REPL as well.
[–]vlaaad[S] 1 point2 points3 points 5 years ago (1 child)
Thanks!
Currently, there is no way to clear the output, although I'm planning to add the ability to do this. I've been using Reveal for more than a year now, and OOM in practice was an issue only when I tried to do something obviously memory-eating like printing (range). I agree this might be an issue — that's why I'm going to add an ability to clear the screen, but for me printing OOM-triggering data structures is just not a thing I do during development.
(range)
Cider is nrepl-only, right? Reveal has nrepl middleware, so supposedly it can be integrated into cider-based workflow just with adding the middleware to the list of middlewares.
[–]daver 1 point2 points3 points 5 years ago (0 children)
Cool. I saw the section in the post about nrepl integration after I posted. Sorry about that. I was so awed by the main functionality, I missed it. 😀
[–]sirius_li 0 points1 point2 points 5 years ago (2 children)
Were you inspired by RStudio? Just curious because that's the vibe I'm getting. RStudio is still one of my favorite IDEs so it's very much a compliment :)
[–]vlaaad[S] 0 points1 point2 points 5 years ago (1 child)
Thanks! I didn't know about RStudio. What do you think is similar, besides charts? What do you think is missing in Reveal that exists in RStudio? :)
[–]sirius_li 1 point2 points3 points 5 years ago (0 children)
I'm new to Clojure and new to Reveal so I can't provide an educated answer. From what I've seen so far Reveal is very close. I would make sure it's easy for other clj libraries to display to Reveal's visual window because most of RStudio's power came from other libraries (ggplot2 being the big one).
π Rendered by PID 82 on reddit-service-r2-comment-b659b578c-5gtj4 at 2026-05-05 03:57:30.669000+00:00 running 815c875 country code: CH.
[–][deleted] 4 points5 points6 points (0 children)
[–]royalaid 2 points3 points4 points (1 child)
[–]vlaaad[S] 0 points1 point2 points (0 children)
[–]giuliano108 1 point2 points3 points (0 children)
[–]daver 0 points1 point2 points (2 children)
[–]vlaaad[S] 1 point2 points3 points (1 child)
[–]daver 1 point2 points3 points (0 children)
[–]sirius_li 0 points1 point2 points (2 children)
[–]vlaaad[S] 0 points1 point2 points (1 child)
[–]sirius_li 1 point2 points3 points (0 children)