-
Notifications
You must be signed in to change notification settings - Fork 211
Macro resources
-
Describes the essence of racket's macro system. One of the easier macro papers to read. Lot's of the names and structure of sweet.js is modeled after this presentation. Describes much more features than we've currently implemented.
-
One of the early seminal papers on hygiene, talks about
syntax-rules
. -
Syntactic abstraction in scheme.
Another seminal paper, describes how to implement
syntax-case
. -
Macro-by-example: Deriving syntactic transformations from their specifications.
Describes how to implement macro-by-example (the pattern matching stuff). Doesn't address hygiene.
-
Honu: Syntactic Extension for Algebraic Notation through Enforestation
Very recent paper. This is what we're looking to model more of sweet.js on. This will enable us to do things like infix macros and fix a few bugs along the way.