juxt/aero

Support for regexps

abcdw opened this issue · 2 comments

abcdw commented

Is there a way to properly read regexp literals by default?

I would like to read edn file with content like this using aero:
{:regexp #"regexp-here"}

Right now it complains:
"No dispatch macro for: \""

EDN doesn't support regex. One idea might be to use https://github.com/borkdude/edamame/ which would also give the opportunity for better error messages.

abcdw commented

@SevereOverfl0w edamame looks great, thank you very much for the mentioning it. I'm curious how hard to implement #ref with edamame.