Skip to main content

Questions tagged [macro]

Use this tag for questions about design or implementation of language preprocessor macros that are able to perform limited rewriting of source code before evaluation. Do not use for questions about editor macros or design of automation languages.

19 votes
6 answers
1k views

How could a language with a C-style syntax implement homoiconicity?

A part of why Lisp's macros work so well is that the code is just a list of symbols, and it is therefore simple to manipulate using a regular Lisp function. How could a language that uses a syntax ...
kouta-kun's user avatar
  • 1,548