pseudo-code or whatever