Have you ever played with SNOBOL, Icon, Prolog, or the amb operator in a language with continuations like Scheme or Ruby?
Those are some other contexts in which you might find inspiration for ways to use backtracking instead of explicit conditionals.
👍 2
k
Konrad Hinsen
05/07/2024, 7:04 PM
Term rewriting is another approach that doesn't require branching, nor any explicit control flow (though there are rules for control flow, behind the scenes).
👍 1
d
Don Abrams
05/07/2024, 11:01 PM
case/pattern matching/recursion and state machine/event/transition are the two alternatives I've been playing with