axellang / axel

Haskell + Lisp
https://axellang.github.io
BSD 3-Clause "New" or "Revised" License
206 stars 9 forks source link

Hygienic macros #76

Open jgrosso opened 4 years ago

jgrosso commented 4 years ago

Currently, the macro system is unhygienic (a la Common Lisp and Clojure). Should it be made hygienic (a la Scheme and Racket)?

There are papers by the Scheme team that describe how to implement a hygienic macro system, which we should refer to if/when we tackle this.

jgrosso commented 4 years ago

See https://www.reddit.com/r/haskell/comments/g6ociz/haskells_semantics_plus_lisps_macros_meet_axel_a/foef6ne/.