conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
martinklepsch 2020-05-30T02:22:03.125800Z

fennel.dofile("init.fnl", { allowedGlobals = false })
might be related to loading it like this

martinklepsch 2020-05-30T02:44:38.126500Z

Another odd fennel thing, os.execute output glitches with buffer:

(global deps
  {:moses.lua "<https://raw.githubusercontent.com/Yonaba/Moses/master/moses.lua>"})

; when evaluating this form the curl output is printed right in the buffer
(each [k v (pairs deps)]
  (print (.. "curl -L -o " k " " v))
  (os.execute (.. "curl -L -o " k " " v)))

Olical 2020-05-30T11:17:20.130100Z

Whaaaaat I'll have to try and repro that one. Weird!

martinklepsch 2020-05-30T03:31:57.127800Z

Completely unrelated I wrote a “dependency manager” 😂 for my lua/fennel scripts: https://gist.github.com/martinklepsch/49ed53cc18879fa1055b9bdd77471c95

Olical 2020-05-30T11:12:07.128300Z

Oh neat! I have embed.sh in Aniseeds repo which sort of copies files out of a deps directory (managed by dep.sh) while sed rewriting prefixes so my-lib would become aniseed.my-lib, in the case of embedding something in aniseed.

martinklepsch 2020-05-30T11:15:42.129700Z

Yeah, briefly considered a prefix of sorts but wanted to keep it simple for now.

Olical 2020-05-30T11:16:13.129900Z

Feel free to take bits out of Aniseeds scripts dir if they suit your needs ☺️

pyrmont 2020-05-30T03:35:31.128100Z

This is pretty cool!

thheller 2020-05-30T13:30:54.140900Z

@olical does conjure still use prepl or is it all nrepl now?

dharrigan 2020-05-30T13:33:33.141200Z

I believe the new version is nrepl completely

Olical 2020-05-30T13:34:25.142100Z

Entirely nREPL at the moment but I'll probably add an alternative prepl implementation for those that really want it eventually.

👍 1