Shameless plug (again): This is one of the issues I addressed when I wrote the competing mathup library.
alphanumeric tokens MUST be separated from each other with a symbol or whitespace.
ooxx => ooxx
oo xx => ∞×
sqrtx => sqrtx
sqrt x => √x
sqrt(x) => √x
The way I deal with commas is that I always treat commas as an operator (or a seperator in group context), unless the author configures comma to be the decimal mark (and I only allow exactly one decimal mark for each parse run).
alphanumeric tokens MUST be separated from each other with a symbol or whitespace.
The way I deal with commas is that I always treat commas as an operator (or a seperator in group context), unless the author configures comma to be the decimal mark (and I only allow exactly one decimal mark for each parse run).https://mathup.xyz