-
I'm working on a PowerFX implementation for handling relatively straightforward business logic units. I expect users to need to perform assignment (Set) operations primarily and to perform them conditionally. I've reviewed the samples closely and I've played around with the RecalcEngine a bit. So far, I am a bit surprised by how challenging this objective seems to be. The RecalcEngine can't handle Set inside a conditional expression (it says Set is an invalid Function) and the samples seem to bear this out, with the REPL sample openly assuming that Set can only be evaluated if it is the opening of a REPL command (The regex match begins with So, from what I see so far, what I need to do is Regex match every Set operation and substitute them with some Output value like Set1, Set2, etc. Then eval the expression and match my Output back to the Set operation I swapped out, then run that Set operation. Something kinda like the below: Does that seem right? I feel like there should be something more direct for this, but I can't seem to find it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Resolved in product core guthub |
Beta Was this translation helpful? Give feedback.
Resolved in product core guthub