Clojurians
#lumo
<
2018-02-02
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

martinklepsch16:02:27

Does lumo have API docs? I’m wondering if it has any built ins for shelling out?

richiardiandrea16:02:35

@martinklepsch the docs are not out yet, about shelling out you can either use node directly or abio, depending on your needs

richiardiandrea18:02:09

so setting --no-use_strict

richiardiandrea18:02:15

but in a -i file

richiardiandrea18:02:32

it does not seem to work

richiardiandrea18:02:22

in particular I have this in a file:

(enable-console-print!)

;; 
(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}))

richiardiandrea18:02:04

but it fails with the error Unexpected eval or arguments in strict mode

richiardiandrea18:02:23

with is triggered by pinpointer, but works if I do the same at the REPL