There was a game awhile back called "A Good Snowman is Hard to Build". The creator used PuzzleScript as a level editor/prototyper. He would make and play the levels inside the PuzzleScript engine, then import the completed level data into his own engine. I thought that was pretty cool.