parseedn
parseedn copied to clipboard
Parse error for valid EDN
I have the following EDN string from a Babashka task that fail to parse in parseedn:
(parseedn-read-str "{ remake {:doc \"Text\"
:task (do (run 'pm-build)
(run 'db-stop)
(run 'db-rm)
(run 'db-create))}}")
Running the following in Clojure works fine
(edn/read-string "{
remake {:doc \"Text\"
:task (do (run 'pm-build)
(run 'db-stop)
(run 'db-rm)
(run 'db-create))}}")
Thanks for the report!
I'll try to repro.
Is there anything special in this input? It wouldn't seem so at first glance
I dont think there is anything special. The code is more or less taken from the Babashka book on tasks.
It's the ' characters.
Let's see what we can do about them.
I don't see them in https://github.com/edn-format/edn though!