Open iserranoe opened 4 years ago
That's a good idea. I'm not a big fan of having multiple syntaxes for the same thing, but especially with JavaScript using **
, that would align with people's expectations. We could make it an option, but the extra complexity doesn't seem worth it, and it's easy enough to support both. There also shouldn't be any backward-compatibility issues, since **
is current a syntax error.
The exponential operator used with Parser is ^; however, javascript exponential operator is . Is there a way for Parser to accept as exponential operator?