I just found your DDMathParser. It is perfect for a side project I've got going on. I heard mention you have a Swift version...?
Conversation
Replying to
Replying to
maybe. there’re bizarre edge cases w/ infix notation, like stacked unary operators & right assoc operators
1
ex: “-2 ** ---2” negate has lower precedence than right-assoc exp, but has to be eval’d first in the exponent
1
Show replies
Replying to
1
Replying to
I need to rewrite and manipulate the expressions than evaluate them, but I'll have to explore Madness.
2
I started building the solution to what Dave requested, but Swift kept crashing. >:(
Anyway gist.github.com/andymatuschak/
1
Show replies



