↩ reply to @mort Maybe TCL
https://www.tcl-lang.org/about/language.html I was looking for something similar at one point and built a little language inspired by tcl. Here's an example from the repo:
https://github.com/wezm/tcl/blob/master/tests/pkg.tcl