clojure-spec

About: http://clojure.org/about/spec Guide: http://clojure.org/guides/spec API: https://clojure.github.io/spec.alpha/clojure.spec.alpha-api.html
misha 2020-06-24T23:12:43.404100Z

1
ikitommi 2020-06-25T08:36:15.404800Z

How complete are you aiming this to be? Could it generate something else than spec syntax? There is work ongoing in making JSON Schema -> #malli and would like to see this for #schema too

misha 2020-06-25T08:38:22.405100Z

I am doing this just to get familiar with vega enough to implement few charts for my projects :troll:

misha 2020-06-25T08:39:27.405300Z

so for now I am going to finish spec1alpha, and then (but don't know when) - spec2

misha 2020-06-25T08:44:56.405500Z

I need to finish few combinator use cases, such as oneOf , and see what can be done for string spec (all the regexes, etc.), then I'll package it up as a lib. The main purpose would be to generate spec forms, and it will be up to user what to do with them: paste into file, etc. Now, I am not aiming for it to be fast, just maintainable.

misha 2020-06-25T08:49:52.405700Z

I am not very familiar with plumatic-schema, and only have seen few slides of mali, but I think it would be even easier to translate to those, given: that would be second/third implementation, and those support nested inline anonymous declarations.