planck

Planck ClojureScript REPL
johanatan 2016-06-17T08:00:02.000022Z

@mfikes: any idea when we might be getting an async sh ?

mfikes 2016-06-17T11:50:44.000023Z

@johanatan: I added a ticket for it so it’s “on the list” https://github.com/mfikes/planck/issues/313

johanatan 2016-06-17T17:28:15.000025Z

Do you have any plans for planck-c to support Windows?

mfikes 2016-06-17T17:35:56.000026Z

@johanatan: I’m just focused on Linux for now. But, the C code is fairly portable. It does in fact run successfully in the new Windows Subsystem for Linux, but I don’t know if that is truly useful.

johanatan 2016-06-17T17:36:38.000027Z

Is there an equivalent of javascriptcore on windows?

johanatan 2016-06-17T17:36:52.000028Z

[I'd imagine there's something driving WinJS under the hood]

mfikes 2016-06-17T17:37:42.000029Z

Yes, I think JavaScriptCore exists for Windows, but I haven’t looked in a while.

johanatan 2016-06-17T17:40:51.000030Z

Then it should be a matter of just getting everything plugged up properly no?

johanatan 2016-06-17T17:56:20.000031Z

I'm getting the following error trying to build planck-c:

In file included from ./zip.h:1:
./zip.h:1:10: error: 'zip.h' file not found with <angled> include; use "quotes" instead
#include <zip.h>
         ^~~~~~~
         "zip.h"

johanatan 2016-06-17T17:56:52.000032Z

Seems a bit curious for zip.h to be trying to include itself. Or is it another file by the same name which should be on the include path?

mfikes 2016-06-17T18:21:47.000033Z

@johanatan: Yes, you need libzip. Instructions on how to get the deps set up on different OSs is in the README.md in the planck-c tree

mfikes 2016-06-17T18:47:04.000034Z

And, at this point @hey_lu has practically single-handedly ported nearly all the Objective-C to C. 👏

mfikes 2016-06-17T18:47:20.000035Z

Insanely awesome!

slipset 2016-06-17T19:47:58.000036Z

Has @hey_lu done the socket-repl as well?

slipset 2016-06-17T19:48:42.000037Z

If so, I might just attempt doing my socket thingy in Planck-c

mfikes 2016-06-17T19:56:19.000038Z

@slipset: To address questions like that, there is a list being maintained here: https://github.com/mfikes/planck/wiki/Planck-C-TODOs

mfikes 2016-06-17T19:56:47.000040Z

@slipset: The answer is no, he hasn't

slipset 2016-06-17T19:59:43.000041Z

Yeah, I saw that. Still wondering if I shouldn't brush upon my old c-skills and have a go. Let's see what next week brings...

mfikes 2016-06-17T20:00:35.000042Z

Hah! Fortunately C is is both simple and difficult at the same time 🙂

mfikes 2016-06-17T20:01:17.000044Z

But yeah, at this rate there’s no stopping Lucas evidently 🙂

slipset 2016-06-17T20:15:23.000045Z

It's a bit ironic, wanting to program Clojure makes me program C...

slipset 2016-06-17T20:17:44.000046Z

Btw, and very off topic, I got a position at Telenor, a Norwegian telco, doing full time Clojure. Will be starting 1st October.

mfikes 2016-06-17T20:27:15.000047Z

@slipset: Sweet! But, October. Wow that’s a long way away.

slipset 2016-06-17T20:33:30.000048Z

Yeah, in Norway we have three months notice

mfikes 2016-06-17T21:30:39.000049Z

Wow

mfikes 2016-06-17T22:52:53.000050Z

Released the current 2.0 alpha binary for Linux: http://planck-repl.org/download-alpha.html

🐧 2