Update sci: fix for nested syntax quote
This commit is contained in:
parent
f26458d63d
commit
1974a2362d
4 changed files with 5 additions and 4 deletions
|
|
@ -11,7 +11,7 @@
|
|||
:resource-paths ["resources" "sci/resources"]
|
||||
:dependencies [[org.clojure/clojure "1.10.1"]
|
||||
[org.clojure/tools.reader "1.3.2"]
|
||||
[borkdude/edamame "0.0.9-alpha.2"]
|
||||
[borkdude/edamame "0.0.10-alpha.2"]
|
||||
[org.clojure/core.async "0.4.500"]
|
||||
[org.clojure/tools.cli "0.4.2"]
|
||||
[org.clojure/data.csv "0.1.4"]
|
||||
|
|
|
|||
2
sci
2
sci
|
|
@ -1 +1 @@
|
|||
Subproject commit 25b0628b546e08fe7fec0bb09168e286b3685d91
|
||||
Subproject commit 07d28ee572e90a629e01b10aa5b98cb33ccdc1e5
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
(println))
|
||||
:read (fn [_request-prompt request-exit]
|
||||
(if (r/peek-char in) ;; if this is nil, we reached EOF
|
||||
(let [v (parser/parse-next in #{:bb} {:current (-> sci-ctx :env deref :current-ns)})]
|
||||
(let [v (parser/parse-next sci-ctx in)]
|
||||
(if (or (identical? :repl/quit v)
|
||||
(identical? :repl/exit v)
|
||||
(identical? :edamame.impl.parser/eof v))
|
||||
|
|
|
|||
|
|
@ -36,7 +36,8 @@
|
|||
(delay [1 2 3])
|
||||
'*command-line-args*
|
||||
["a" "b" "c"]}
|
||||
:env (atom {})})
|
||||
:env (atom {})
|
||||
:features #{:bb}})
|
||||
(future
|
||||
(sh "bash" "-c"
|
||||
"echo '[1 2 3]' | ./bb --socket-repl 0.0.0.0:1666 a b c")))
|
||||
|
|
|
|||
Loading…
Reference in a new issue