stathissideris / spec-provider

Infer Clojure specs from sample data. Inspired by F#'s type providers.
519 stars 22 forks source link

Interactive exploration #6

Open viebel opened 7 years ago

viebel commented 7 years ago

Great tool!

Would you like to write an interactive blog post in order to help people experiment with this tool? You could use Klipse like I did with this article about clojure.spec...

stathissideris commented 7 years ago

Glad you like it! Interactive blog post sounds like a good idea, but would I need to cross-compile spec-provider to clojurescript first?

viebel commented 7 years ago

Yeah, there is a guide available here.

Basically, you need to:

  1. renaming your files from clj to cljc
  2. moving the macros into a separate clj file
stathissideris commented 7 years ago

Yeah, I know what it involves 😄 luckily spec-provider is interop-free, so it should be easy,

stathissideris commented 6 years ago

This should now be possible! I just need to find some time to do it.