# Lexically Scoped Macros?

**URL:** <https://discourse.julialang.org/t/lexically-scoped-macros/6835>\
**Category:** Internals & Design\
**Tags:** question, proposal\
**Created:** [November 1, 2017, 9:03pm UTC](https://discourse.julialang.org/t/lexically-scoped-macros/6835 "2017-11-01T21:03:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mason/32/2423_2.png) [@Mason](https://discourse.julialang.org/u/Mason)\
**Post date:** [November 2, 2017, 4:32pm UTC](https://discourse.julialang.org/t/lexically-scoped-macros/6835/2 "2017-11-02T16:32:12Z")

</div>

I heard from someone [here](https://www.reddit.com/r/lisp/comments/7961z9/are_there_any_new_interesting_lisps_being/dp6hoav/) that Lexical macros were excluded for performance reasons as they make it “impossible to statically analyse the code and generate fast code”. This makes no sense to me as lexically scoping the macro should only serve to further localize its effects and should be converted to proper code at before compilation so I fail to see any problem.

---

_[View the full topic](https://discourse.julialang.org/t/lexically-scoped-macros/6835)._
