ParentFull threadcromwellian·Kotlin has some pretty nice StateMachine DSL libraries out there, like https://github.com/nsk90/kstatemachineView on HN