6 releases (3 breaking)
0.4.1 | Mar 9, 2020 |
---|---|
0.4.0 | Nov 24, 2019 |
0.3.0 | Feb 26, 2019 |
0.2.1 | Jan 19, 2019 |
0.1.0 | Nov 18, 2018 |
#24 in #babel
288 downloads per month
Used in 5 crates
(via sqlx-ts)
34KB
768 lines
Simulates unhygienic macro to make parser's code cleaner. It lives here because it's not a generic purpose macro (at all).
This can't be implemented with macro_rule! because
rust does not support token munching (destructing $b:block
into { $($t:tt)* }
).
Dependencies
~315–770KB
~18K SLoC