Code generation macros for MathHook language bindings and expression construction
This crate provides procedural macros to generate Python (PyO3) and Node.js (NAPI) bindings from a single function definition, eliminating code duplication while maintaining zero-cost abstractions.
Also provides procedural macros for mathematical expression and symbol construction.
Supported Function Arities
- Unary: sin(x), cos(x), exp(x)
- Binary: pow(x, y), atan2(y, x)
- Variadic: add(args...), mul(args...)
- Constants: pi(), e()