Re: [ANN] ednsl-0.2.0: a super-simple DSL for building DSLs

2015-04-05 Thread Atamert Ölçgen
Hi James,

Interesting library. I have a few comments on the readme.

The simple example is not so simple:

(ns my.app
  (:use [ednsl]))
(defn main [& args]
  (let [r (-> "config-file.edn" read-file ctx-form
   (>>= emap (eithery (etuple ekey (eor (>>- esym eload-sym)
eany)
{:keys [main args]} r]
   (apply main args)))
(defn real-main [& args]
 ;; Do something useful!
 (prn args))


The calculation of r is supposed to demonstrate what this library does, but
a potential user will have no idea what any of those supposed to do.
Perhaps loosening the code and adding some comments that explain what's
going on there can help adoption.

I think main should do (apply real-main args), otherwise infinite recursion.

Codox docs are in the 'doc' directory or can be read on github. They
contain a good walkthrough.


github link here goes to your user page.



On Fri, Apr 3, 2015 at 5:43 PM, James Laver  wrote:

> It’s not quite as stupid as it sounds and it’s mostly the result of
> factoring out the config handling code from oolong[1]
>
> https://github.com/jjl/ednsl/
> https://clojars.org/ednsl
>
> Happy hacking!
>
> James
>
> [1] https://github.com/jjl/oolong/
>
>
> --
> 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.
>



-- 
Kind Regards,
Atamert Ölçgen

◻◼◻
◻◻◼
◼◼◼

www.muhuk.com
www.olcgen.com

-- 
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.


[ANN] ednsl-0.2.0: a super-simple DSL for building DSLs

2015-04-03 Thread James Laver
It’s not quite as stupid as it sounds and it’s mostly the result of factoring 
out the config handling code from oolong[1]

https://github.com/jjl/ednsl/
https://clojars.org/ednsl

Happy hacking!

James

[1] https://github.com/jjl/oolong/


-- 
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.