It strongly looks like PuzzleScript [1]. In fact, I would be surprised that this wasn't inspired by PuzzleScript; the paper [2] seems to have no mention of PuzzleScript though.
[1] https://www.puzzlescript.net/
[2] https://www.microsoft.com/en-us/research/uploads/prod/2020/0...