Hi, 

In addition to js.spec, here is another alternative I made: Clause.js 
<http://github.com/clausejs/clausejs>. 

What's currently working is conformation and validation for regex specs & 
function specs. Next on the roadmap is data generation. 

I've also made a sub-library for documentation generation called 
clausejs-docgen 
<https://github.com/clausejs/clausejs/tree/master/packages/clausejs-docgen>. 
I have been using this library to generate Clause.js's own documentation, 
which has been a pretty fun experiment. 

There is also a "syntax" function that takes an fspec, computes all the 
possibilities (on all the "or" specs contained within the fspec), and 
generates a list of concise syntax representations. You can find an example 
here <https://clause.js.org/#/clause>.

Cheers,
Xiyang

On Thursday, December 29, 2016 at 1:17:47 PM UTC-5, Rich Morin wrote:
>
> Does anyone know of efforts to port clojure.spec to other languages?  I 
> thought I had seen someone mention versions for Haskell and Scala, but I 
> can't find any information on this.  FWIW, my interest is in having 
> elixir.spec and/or ruby.spec...
>
> -r
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to