Closed rocky closed 3 years ago
See https://reference.wolfram.com/language/ref/Infix.html
It should be removed from https://github.com/rsmenon/pygments-mathematica/blob/master/mathematica/builtins.py#L5692 and added to UNICODE_OPERATORS.
UNICODE_OPERATORS
The ~ operator is Infix, whereas the symbol Tilde has no built in meaning per the documentation. It is confusing, but the two are not the same.
~
Infix
Tilde
As such, classifying it as UNICODE_SYSTEM_UNDEFINED_SYMBOLS (for \[Tilde]) or SYSTEM_SYMBOL (for Tilde) is appropriate.
UNICODE_SYSTEM_UNDEFINED_SYMBOLS
\[Tilde]
SYSTEM_SYMBOL
See https://reference.wolfram.com/language/ref/Infix.html
It should be removed from https://github.com/rsmenon/pygments-mathematica/blob/master/mathematica/builtins.py#L5692 and added to
UNICODE_OPERATORS
.