Hi, 

I'm trying to create this Domain Specific Language:

    (query "clojure"
      (directory "/usr/texts")
      (group-by :creation-date))

What it should do is to search for all files in a specific directory using 
a regexp and then group the result by some of files attributes.

The idea is the (query) created a RegExp object. (directory) to specify 
which directory to scan. (group-by) is to group the files names by 
creation-date of the files.

(query) will use Java RegExp library. (directory) will use java.io package. 

** I know that I can use Clojure functions for RegExp and IO but I want to 
try to create it using Java libraries **

Any starting points are really appreciated.

Thanks for help and time.

-- 
-- 
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/groups/opt_out.

Reply via email to