|
## Overview
|
|
## Overview
|
|
|
|
|
|
- Main documentation is at http://sweetjs.org.
|
|
- Main documentation is at http://sweetjs.org.
|
|
- Collection of [[example macros]].
|
|
- Collection of [[example macros]].
|
|
- [[FAQ]]
|
|
- [[FAQ]]
|
|
|
|
|
|
## Using
|
|
## Using
|
|
|
|
|
|
- [Modularizing your macros](https://github.com/mozilla/sweet.js/wiki/modules)
|
|
- [Modularizing your macros](https://github.com/mozilla/sweet.js/wiki/modules)
|
|
- [Using node](https://github.com/mozilla/sweet.js/wiki/node-loader) to load sweet.js files.
|
|
- [Using node](https://github.com/mozilla/sweet.js/wiki/node-loader) to load sweet.js files.
|
|
- Using [[source maps]] with sweet.js.
|
|
- Using [[source maps]] with sweet.js.
|
|
|
|
|
|
## Documentation
|
|
## Documentation
|
|
|
|
|
|
- [[Patterns]]
|
|
- [[Patterns]]
|
|
- [[Case Macro API|case-api]]
|
|
- [[Case Macro API|case-api]]
|
|
- [[Custom Operators|custom-operators]]
|
|
- [[Custom Operators|custom-operators]]
|
|
|
|
|
|
## Design
|
|
## Design
|
|
|
|
|
|
Couple of pages on the design. Mostly outdated now, for historical interest only.
|
|
Couple of pages on the design. Mostly outdated now, for historical interest only.
|
|
|
|
|
|
- Main [[design]] overview.
|
|
- [[High level design overview]] for sweet.js
|
|
- [Case macros design](https://github.com/mozilla/sweet.js/wiki/Syntax-Case).
|
|
- Main reader [[design]] overview.
|
|
- [[expander design]].
|
|
- [Case macros design](https://github.com/mozilla/sweet.js/wiki/Syntax-Case).
|
|
- [[primitive operations]].
|
|
- [[expander design]].
|
|
|
|
- [[primitive operations]].
|
|
## Contributing
|
|
|
|
|
|
## Contributing
|
|
Writing macros and reporting issues is always appreciated.
|
|
|
|
|
|
Writing macros and reporting issues is always appreciated.
|
|
Checkout the [straightforward](https://github.com/mozilla/sweet.js/issues?labels=straightforward&page=1&state=open) issue label if you'd like to help out but don't know much about hygienic macro algorithms.
|
|
|
|
|
|
Checkout the [straightforward](https://github.com/mozilla/sweet.js/issues?labels=straightforward&page=1&state=open) 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](https://github.com/mozilla/sweet.js/blob/master/src/expander.js).
|
|
|
|
|
|
If you're brave, the main expansion algorithm is in [expander.js](https://github.com/mozilla/sweet.js/blob/master/src/expander.js).
|
|
|
|
|
|
If you want to learn about macro theory, checkout the [[macro resources]] page. |
|
If you want to learn about macro theory, checkout the [[macro resources]] page. |
|
|
|
\ No newline at end of file |