@borkdude if that’s of any value, there is one decent spec form parser in spec-tools. Doesn’t cover regexs, but lot of other dirty details. There is also a comprehensive regression & progression test suite. e.g. testing that the form bugs are not fixed, together with link to the JIRA issue. Feel free to c&p any parts that you find useful.
the parser: https://github.com/metosin/spec-tools/blob/master/src/spec_tools/parse.cljc
spec visiting tests: https://github.com/metosin/spec-tools/blob/master/test/cljc/spec_tools/visitor_all_test.cljc
Interesting, I’ll have a look