Define a new custom operator in D Language.

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Tue Oct 10 22:24:18 UTC 2023


On Monday, 2 October 2023 at 18:34:13 UTC, BoQsc wrote:
> ---
> **This might lead to less gaps between math formulas and the 
> implementation.**
>
> Or at the very least would allow to define a formula in the 
> source code for further implementation and introduce some 
> consistency.

You could write a parser with pegged 
https://code.dlang.org/packages/pegged

Could probably support unicode math symbols.


More information about the Digitalmars-d-learn mailing list