3 ms·
Clojure is an opinionated Lisp whose focus on simplicity, and orientation around data, may draw people away from the nested language approach. You certainly ca
by eigenhombre 9y ago
Clojure is an opinionated Lisp whose focus on simplicity, and orientation around data, may draw people away from the nested language approach.
You certainly can use macros to build DSLs in Clojure (the Midje and Korma libraries make heavy use for them, for example). But over-heavy use of macros is discouraged when common library functions operating on simple data structures will do.
For a very different approach which feels much more aligned w/ PG's comment, have a look at Norvig's "Paradigms of AI Programming: Case Studies in Common Lisp." Reading it changed my notion of what Lisp is / can be; you can write Clojure programs that look similar, but it seems to be rare to do so.