klipse

2016-10-16T00:00:07.000006Z

Should that work?

2016-10-16T00:05:51.000007Z

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 Sharvit 2016-10-16T09:24:10.000008Z

What a coincidence!

Yehonathan Sharvit 2016-10-16T09:24:34.000009Z

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

Yehonathan Sharvit 2016-10-16T09:24:56.000011Z

By the way, what is your use case?

Yehonathan Sharvit 2016-10-16T11:33:51.000012Z

@mynomoto can you test?

2016-10-16T11:49:29.000013Z

@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 Sharvit 2016-10-16T12:08:59.000015Z

great. Can you share a live demo?

2016-10-16T13:04:33.000016Z

https://mynomoto.github.io/hoplon-klipse/

2016-10-16T13:04:57.000017Z

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

2016-10-16T13:08:34.000018Z

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

Yehonathan Sharvit 2016-10-16T13:51:22.000019Z

There are a couple of constraints

Yehonathan Sharvit 2016-10-16T13:51:26.000020Z

try to ask @mfikes

Yehonathan Sharvit 2016-10-16T13:51:53.000021Z

I think :refer-macros is not allowed

Yehonathan Sharvit 2016-10-16T13:52:07.000022Z

you have to use :require-macros + :refer

2016-10-16T14:01:27.000023Z

Cool, I will try that.

2016-10-16T14:10:16.000024Z

Amazing talk on clojutre btw.

Yehonathan Sharvit 2016-10-16T14:14:30.000025Z

Thx

Yehonathan Sharvit 2016-10-16T14:14:51.000026Z

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 Sharvit 2016-10-16T14:14:56.000028Z

It’s not complete

Yehonathan Sharvit 2016-10-16T14:15:08.000029Z

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

Yehonathan Sharvit 2016-10-16T14:15:52.000030Z

@mynomoto

2016-10-16T14:26:01.000031Z

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

2016-10-16T14:57:59.000032Z

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