spy16 / slurp

Slurp is a highly customisable LISP toolkit for Go applications. 💻

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Macro System

spy16 opened this issue · comments

  • Identifying macro values.
  • Implement macro expansion.
  • Handling symbol collision.

@lthibault I was wondering if instead of having Expander as another thing, we could just shift the responsibility of Expansion to Analyzer itself? What are your thoughts? So we just have single Analyzer interface that is responsible for all kinds of syntax analysis.

@spy16 Yeah, I don't see a strong case for keeping the two separate anymore. Let's do it 👍