LIPS-scheme / lips

Scheme based powerful lisp interpreter in JavaScript
https://lips.js.org
Other
414 stars 34 forks source link

Consider removing macro syntax extensions #344

Closed jcubic closed 6 months ago

jcubic commented 6 months ago

They are kind of redundant. You can do anything with functions. There are no benefit of using macros.

jcubic commented 6 months ago

It's actually problematic to remove macros syntax-extensions because of how object literals are implemented. %object-expander is a function which returns code that that is then used in object and object-literal.