Renderman was specially created and used by Pixar and many others as a graphic DSL. You describe objects in a scene, attach shaders to them, add light sources, position cameras, describe projections, etc. Everything in this C-like language since the 1980s.
There are open source rendering tools that implement it, and you can try it.
, , , POVray .