https://www.flecs.dev/flecs/md_docs_2FlecsScriptTutorial.html
These languages act as a generalization of SQL with stored procedures.
That example show 3d graphics, but nothing stops you from supplying a lambda creation and making it into a system. At which point the entire thing starts resembling Scheme code in CPS form.