On Sat, Mar 5, 2011 at 2:35 PM, Timothy Washington <twash...@gmail.com> wrote: > Indeed :) > I've actually been thinking about that. And from what I can tell, LISP DSLs > are simply extensions to the LISP language. But maybe I still haven't gotten > my head wrapped around 'defmacros' and how they implements DSLs. It seems to > me though, that someone could still want to parse SQL or XQuery or any > non-s-expression grammar. And I don't see how to do that with 'defmacros'. > So, clojure does currently handle non s-expression grammars, but... > > XML - uses Java's xml parser facility > Regex - is handled by Java's regex facility > etc > > Am I missing something here? From what I can tell, you'd still need an > outside library, or Parser Generator (BNF or otherwise), to handle something > like SQL or XQuery.
I suppose you might, if you really need to interoperate with non-binary, legacy data formats. Most commonly, though, these days that means XML and there's clojure.xml for that. ;) -- 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