sci

https://github.com/babashka/SCI - also see #babashka and #nbb
mkvlr 2021-05-17T09:18:53.062500Z

How is sci pronounced? Like science or skiing or entirely different?

borkdude 2021-05-17T09:19:48.062700Z

like sci-fi

borkdude 2021-05-17T09:20:21.063Z

at least, that's how I pronounce it ;)

mauricio.szabo 2021-05-17T13:26:34.063900Z

Hi there! Is there a way to send SCI info about the current file being evaluated? So that (meta #'some-fun-i-defined) gets the :file correctly?

borkdude 2021-05-17T13:27:36.064400Z

@mauricio.szabo yes, you can do: (sci/binding [sci/file "dude.clj"] (sci/eval-string ...))

borkdude 2021-05-17T13:29:38.064600Z

user=> (sci/binding [sci/file "dude.clj"] (sci/eval-string "(meta (def x))"))
{:name x, :ns #object[sci.impl.vars.SciNamespace 0x348c00d9 "user"], :file "dude.clj", :line 1, :column 12}

mauricio.szabo 2021-05-17T13:30:40.065Z

Nice, thanks!

mkvlr 2021-05-17T20:18:10.066600Z

so did I but not everyone on our team agreed. good to know, thanks!