This works because we are mostly interested in equality of strings and other computation with strings (mostly prefix based classific) is done ahead of time.
For debugging we emit our generated code and both eclipse and intellij picked up our generated code without configuration. It's safed us a lot of headaches.
Glad to see Roslyn has made PeachPIE even more capable.
Also, how would one execute said formula?
(latestquote - previousquote) / previousquote
iif(isonlineorder, "Online", "Retail")
FirstName & " " & LastName
iif(IsNothing(Amount), "Amount missing", Format(Amount, "c2"))
"Q" & ((OrderDate.Month - 1) \ 3 + 1)
MonthName(DatePart(DateInterval.Month, Today), false)
DateAdd(DateInterval.Day, 1, Today)
See this file for example of usage:
https://github.com/Rajeev-K/formula-parser/blob/master/src/R...This will not correctly handle the case when the user attaches a debugger after the eval has started, but before all execution artifacts (including callbacks/closures) are finished.