One of the stmbling blocks I find as a Clojure newbie are syntax errors working with core library macros. The error messaeges aren't always descriptive. What are the chances that core macros could be rewriiten using a future version on defsyntax to help with this problem?
On Jan 2, 11:57 am, Brian Goslinga <quickbasicg...@gmail.com> wrote: > I have released version 1.0.0-alpha1 of my syntax-rules > library:http://clojars.org/org.clojars.qbg/syntax-rules. This library is also > on Github:https://github.com/qbg/syntax-rules > > This library seeks to address two sources of incidental complexity > when writing macros in Clojure using defmacro: parsing the macro form > and checking for syntax errors. The library provides powerful tools > for parsing macros with complex syntax (see the wiki for an example of > parsing deftype). In addition, this library will generate reasonable > syntax error messages almost for free. > > The wiki for this library is located > athttps://github.com/qbg/syntax-rules/wiki. > On the wiki are some simple examples comparing the implementation of > simple macros from Clojure using defmacro and defsyntax-rules. An > implementation of defn is provided using defsyntax-rules. As mentioned > above, there is also an example of parsing deftype using defsyntax- > rules. > > I hope people find this library useful. > > Brian -- 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