Fork me on GitHub
#klipse
<
2016-10-16
>
mynomoto00:10:07

Should that work?

mynomoto00:10:51

What I'm getting is #error {:message "Could not parse ns form cljs.pprint", :data {:tag :cljs/analysis-error}, :cause #error {:message "Invalid :refer, macro cljs.pprint/deftype does not exist", :data {:tag :cljs/analysis-error}}}

Yehonathan Sharvit09:10:10

What a coincidence!

Yehonathan Sharvit09:10:34

I just deployed a new version of KLIPSE - 3.2.0 that supports cljs.pprint

Yehonathan Sharvit09:10:56

By the way, what is your use case?

mynomoto11:10:29

@viebel Thanks! I'll test in a bit. I'm trying to make hoplon work in Klipse. I removed a bunch of stuff including the cljs.pprint namespace on a fork to make it work. But the main problem now is http://clojure.java.io and uses of Java like PushbackReader. I kept removing stuff and a subset of hoplon works hoplon 🎉 👏

Yehonathan Sharvit12:10:59

great. Can you share a live demo?

mynomoto13:10:57

If you click on the number on the bottom it will increment.

mynomoto13:10:34

Is there some difference to refer/include macros on bootstrapped cljs? I'm having trouble using them.

Yehonathan Sharvit13:10:22

There are a couple of constraints

Yehonathan Sharvit13:10:53

I think :refer-macros is not allowed

Yehonathan Sharvit13:10:07

you have to use :require-macros + :refer

mynomoto14:10:27

Cool, I will try that.

mynomoto14:10:16

Amazing talk on clojutre btw.

Yehonathan Sharvit14:10:51

I’ve started to write a guide about: porting a lib to be self-host compatible: https://github.com/viebel/klipse/wiki/How-to-make-a-clojure-library-self-host-compatible

Yehonathan Sharvit14:10:56

It’s not complete

Yehonathan Sharvit14:10:08

It would be nice if you could enrich it with your insights

mynomoto14:10:01

Sure, I will take a look and add to it.

mynomoto14:10:59

Do you have some tip to deal with GitHub cache of raw files? I keep creating new branches but should exist a better way.