2012/3/30 Vinzent <ru.vinz...@gmail.com>:
> Counter-example: one could write if-authenticated macro, which will take
> fixed number of args, but should be indented as normal if.

OK, check the macro structure to see if any args are incorporated as
invokable forms -- so, in arguments in special forms and macros that
are "bodies". (Yes, this is obviously sort of recursive.) The first
such arg is treated as the start of a body.

Some static dataflow analysis may be needed in case the macro takes
the arg, processes it in some way, and then inserts it into its output
rather than inserting it directly.

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

Reply via email to