Advanced programming languages like Scheme, Scala, Racket and Rust have support for macros, a way to run a series of instructions or source via a simple command/statement.
This library adds the same functionality to JavaScript, a scripting language where something like macros don't normally fit in by design.
sweet.js will allow developers to define their own macros, and then call them anytime they need them, all to reduce development time and code length.
What is new in this release:
- Reader Extensions! You can now change how sweet.js reads/lexes tokens.
What is new in version 0.6.0:
- New Documentation
- Custom Operators
- Custom Pattern Classes
What is new in version 0.5.0:
- Can now define custom pattern classes.
What is new in version 0.2.4:
- Just bug fixes.
What is new in version 0.2.1:
- Fixed examples on homepage.
- Fixed for multiple cases in rules form.
What is new in version 0.1.3:
- Lots of bug and performance fixes.
Requirements:
- JavaScript enabled on client side
Comments not found