Fork me on GitHub
#sci
<
2021-08-10
>
mkvlr09:08:36

is there an option to make (edamame.core/parse-string "foo/bar/baz") work? clojure.core/read-string does read it fine (`cljs.reader/read-string` also throws).

borkdude10:08:39

afaik that's an invalid symbol

borkdude10:08:13

> '/' has special meaning, it can be used once in the middle of a symbol to separate the namespace from the name, e.g. my-namespace/foo. '/' by itself names the division function. https://clojure.org/reference/reader

borkdude10:08:11

edamame just uses tools.reader to parse this symbol btw, if tools.reader rejects it I think edamame should probably too

borkdude10:08:37

cljs.reader also uses tools.reader

borkdude10:08:46

btw, I've made great progress on async stuff in #nbb. So if you want/need to revisit what you're doing with async at one point, we can look at porting some code from nbb back into SCI

mkvlr10:08:36

yeah, somewhat an edge case and not completely sure which impl is more right

mkvlr10:08:48

cool, I’ll take a look in #nbb