PuzzleScript is the closest to this I can think of. Hyper specialised though.
https://www.puzzlescript.net/