Well, if you’re interested in text-based games, there have been custom languages for a long time.
https://www.linusakesson.net/dialog/craverly/craverly_side_b...
Also LPC for muds, although that definitely wasn’t built from the ground up.