Re: Schemas for DSLs on top of Clojure

2016-04-30 Thread Olek
Ok. Thank you. Not quite what I was expecting but nice to see that tool too. On Friday, 29 April 2016 20:45:27 UTC+2, Michael Willis wrote: > > The convention that I've seen among the Clojure community is to represent > these kinds of things as data structures, and define your contraints using

Re: Schemas for DSLs on top of Clojure

2016-04-29 Thread Michael Willis
The convention that I've seen among the Clojure community is to represent these kinds of things as data structures, and define your contraints using something like https://github.com/plumatic/schema On Friday, April 29, 2016 at 1:10:29 PM UTC-5, Olek wrote: > > Hi! > > Clojure data structures ca

Schemas for DSLs on top of Clojure

2016-04-29 Thread Olek
Hi! Clojure data structures can express tree data structures, same as in XML what is ideal for DSL. Especially that thanks to macros you can also change the evaluation order and hide execution complexity and treat DSL in terms of declarations and not statements nor functions. What is more the g