You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible, but I think that such logic is not related to Lexer. I think we should add some 'semantic' analyzer (as a part of parsing process, which will convert e^i to Complex number). Maybe, it will useful for #119.
Hi Dmitry,
maybe it's hard to implement, but it would be nice to have.
=> example: ..Tokenize("r * e^(i * phi)");
when we find an 'i' character in an exponent of the base 'e', then we can build a complex number from polar coordinates.
Perhaps you could think about it. =)
Best regards
Ronny
The text was updated successfully, but these errors were encountered: