What's wrong with letting the user manage all the slashes? Why try to figure out what they might have meant and correcting their (might be) errors? If this is the way that Parameter is going to work, then the class needs to loudly announce to the user "by using this class you are buying in to our ad-hoc OSC++ schema; you don't get to manage shashes."
Personally, I would much rather manage slashes myself.
I agree. The only purpose of this cleaning up of slashes should be to avoid double slashes, perhaps we should let the users shoot themselves in the foot? I would be OK with that...
https://github.com/AlloSphere-Research-Group/allolib/blob/c035664e77acaf4244c94c3f11d8b11c8b66c490/src/util/ui/al_Parameter.cpp#L107
What's wrong with letting the user manage all the slashes? Why try to figure out what they might have meant and correcting their (might be) errors? If this is the way that Parameter is going to work, then the class needs to loudly announce to the user "by using this class you are buying in to our ad-hoc OSC++ schema; you don't get to manage shashes."
Personally, I would much rather manage slashes myself.