I've just uploaded an SCPI server object to
https://github.com/MarkMLl/scpisrvMy intention is to embed this in a program which controls or collects data from a bench instrument, see e.g.
https://github.com/MarkMLl/Mastech_ms2115bIt's incomplete and I'm pretty sure there's problems in the parser, but it manages to hide a significant amount of complexity by first registering commands in the canonical SHORTlong format and then expanding each command to use a consistent format and be root-relative.
I'm marginally happy with this: I think it needs more work, but is a good start.
MarkMLl