On Thu, Sep 13, 2012 at 9:17 AM, Herwig Hochleitner
<hhochleit...@gmail.com> wrote:
> 2012/9/13 David Nolen <dnolen.li...@gmail.com>
>>
>>
>> That's how compiler macros are intended to work.
>
>
> Great! So am I right with the notion, that clojure's defmacros are not
> compiler macros and one would use the :inline meta key in clojure to achieve
> the same effect?

Essentially.

> Supposing that I am, that means clojure has regular macros and compiler
> macros and clojurescript only has compiler macros, but they work
> differently, because of separate compilation.
> I suppose there is no plan to unify that semantics, before having made
> clojure self-hosting, because there would be no point in papering over the
> fact that clojure has an embedded compiler and clojurescript does not,
> right?

ClojureScript may one day be self-hosting but it's not a near term
goal given the desire to target the kinds of clients that run
JavaScript.

David

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