witty-crayon-22786
05/03/2023, 11:47 PMwide-midnight-78598
05/04/2023, 12:23 AMhundreds-father-404
05/04/2023, 3:25 AMawait Evaluate(the_rule)
await Evaluate(the_rule, Param1)
Or, probably confusing, but maybe even await Get
still, and change the first arg to be the rule name rather than the return type
--
Another challenge with the proposed syntax is MyPy. I think it will complain about invalid calls to the rule functions.
You can avoid that with some special syntax like Evaluate(the_rule)
or Get(the_rule)
bitter-ability-32190
05/04/2023, 11:08 AMawait rule_name()
syntax but make all the other requirements work, like MyPy and engine-supplied-args