Skip to main content

Internals: Syntax Extensions

· 6 min read
Jakub T. Jankiewicz
LIPS maintainer

Syntax extensions are a feature in LIPS Scheme that allow users to add new syntax. They work similar to readers, macro in Common Lisp. You create a sequence of characters that maps to a function that is executed by the parser, the function works similar to a macro and a result of the function is returned by the parser in place of the sequence of defined characters.