Live data from Hacker News

Evaluating ClojureScript in the Browser

yogthos.net

1–9 of 9 posts

Re: Evaluating ClojureScript in the Browser

#3

I've been meaning to add this live cljs experience to http://hiccup.space A site to show how easy hiccup is to use. Sadly not having paredit (or parinfer) support hurts the experience, so that's 2 features to add now!

Is there a parinfer package for emacs ?

Re: Evaluating ClojureScript in the Browser

#4

I've been meaning to add this live cljs experience to http://hiccup.space A site to show how easy hiccup is to use. Sadly not having paredit (or parinfer) support hurts the experience, so that's 2 features to add now!

If you use codemirror for the editing portion, you can use https://github.com/achengs/subpar to provide a subset of paredit in the browser.

Re: Evaluating ClojureScript in the Browser

#5

I've been meaning to add this live cljs experience to http://hiccup.space A site to show how easy hiccup is to use. Sadly not having paredit (or parinfer) support hurts the experience, so that's 2 features to add now!

Is there a parinfer package for emacs ?

Not that I know of, but adjust-parens is similar

Re: Evaluating ClojureScript in the Browser

#6

I've been meaning to add this live cljs experience to http://hiccup.space A site to show how easy hiccup is to use. Sadly not having paredit (or parinfer) support hurts the experience, so that's 2 features to add now!

Check the parinfer site, I'm pretty sure the implementation there runs on CodeMirror so it should be easy to get on your site if that's what you're using.

Re: Evaluating ClojureScript in the Browser

#8

I've been meaning to add this live cljs experience to http://hiccup.space A site to show how easy hiccup is to use. Sadly not having paredit (or parinfer) support hurts the experience, so that's 2 features to add now!

IIRC pareninfer is written in cljs, so porting it shouldn't be too hard.

Re: Evaluating ClojureScript in the Browser

#9
post #7

If you want to build a REPL in the browser I'd highly recommend checking out replumb https://github.com/ScalaConsultants/replumb

Even after finishing the readme I'm not clear on what exactly this does. At the very least it looks useful for working around the macros problem[1]. Mind explaining what mileage you got out of it?

[1]: http://blog.fikesfarm.com/posts/2015-09-07-messing-with-macr...