4 ms·
> But it parses fine as the sum of the product of s, i, and n(x), and the product of c, o, and s(x). No it doesn't because math lexes greedily (and is also co
by guerrilla 4y ago
> But it parses fine as the sum of the product of s, i, and n(x), and the product of c, o, and s(x).
No it doesn't because math lexes greedily (and is also context sensitive anyway.) 'sin' is a symbol just like 'x'. There's no ambiguity in your example.