Skip to content
Tim Disney edited this page Dec 10, 2013 · 21 revisions

Overview

Using

  • [Modularizing your macros][modules].
  • [Using node][node-loader] to load sweet.js files.
  • Using source maps with sweet.js.

Design

Couple of pages on the design. Mostly outdated now, for historical interest only.

  • [Main design overview][design].
  • [Case macros design][Syntax Case].
  • [Expander design][expander design].
  • [Primitive operations][primitive operations].

Contributing

Writing macros and reporting issues is always appreciated.

Checkout the straightforward issue label if you'd like to help out but don't know much about hygienic macro algorithms.

If you're brave, the main expansion algorithm is in expander.js.

If you want to learn about macro theory, checkout the macro resources page.

Clone this wiki locally