Does lumo have API docs? I’m wondering if it has any built ins for shelling out?
@martinklepsch the docs are not out yet, about shelling out you can either use node directly or abio
, depending on your needs
got it thx
https://github.com/abiocljs/abio/blob/master/src/abio/shell.cljs
I have a question, I am trying to replicate https://github.com/anmonteiro/lumo/issues/28
so setting --no-use_strict
but in a -i
file
it does not seem to work
in particular I have this in a file:
(enable-console-print!)
;; <https://github.com/anmonteiro/lumo/issues/28>
(def v8 (js/require "v8"))
(.setFlagsFromString v8 "--no-use_strict")
;; Trying out a couple of libs for better spec printing
;; (set! s/*explain-out* expound/printer)
(require '[pinpointer.core :as pinpointer])
(set! s/*explain-out* (partial pinpointer/pinpoint-out
{:colorize true
:eval lumo.core/eval}))
but it fails with the error Unexpected eval or arguments in strict mode
with is triggered by pinpointer
, but works if I do the same at the REPL
relevant issue here: https://github.com/athos/Pinpointer/issues/9