Skip to content
scrambled
Programming Language Theory Flashcard

What is the relation between macros and parenthetical language?

Books Concepts Deckcompiler implementation

Question

What is the relation between macros and parenthetical language?

Answer

It's easier to implement macro systems in parenthetical languages, as syntax and lists have the same structure. Therefore, a macro is literally a function that takes a list and yields another list.