Scene description language in Blender?

I can see the benefits of a scene-description language being added to Blender. (Maybe there is one; a Python script could certainly be made to do the job.)

When you are creating a lot of similar scenes, or scenes which need to be seamlessly edited next to one another, or scenes which need to be described in terms of complex objects (like, in my case, machines), an SDL would be extremely useful.

Does such a thing exist?

no

could a text file work?

What I was more-or-less envisioning was something that would, for example, export the parameters of a group of Blender objects as, say, an XML file. And of course, import them again.

I’m also in need of a tool that, given a selection-set of objects, would figure out which ones are not parented to someone and parent all of those to an empty. (This gives me a single handle for picking-up the machine.)