It's correct, that these files doesn't exist in LC repo. I suppose they were part of the commercial QCad version, not GPL licensed.
But I wouldn't say junk code. It gives an idea of the QCad implementation and maybe helpful for implementing our own solution.
It's okay to remove the code when implement scripting for LC, but I wouldn't remove it only because it's unused.
If we come to the decision to cancel scripting in V2, deleting this code is beyond debate.
Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution