@N1cke added support for Macros some time ago, but there hasn't been much discussion about them. So I decided to share what I have to start a conversation about different things that can be used to speed up the maths side of things.
Here are some examples of macros to speed things up:
by using something like d=deg(angle)
This gets converted before the text is parsed into:
The tokeniser evaluates the (180.0*3.14159265358979324) before it gets tokenised, so it becomes 565.486678*angle in tokens.
This is much faster than using the math lib deg function.