Skip to main content

One post tagged with "parser"

View All Tags

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.