parser: macro-ise strings

Also grouped functions that are meant to satisfy interfaces close to
those interfaces.
parser: standardadize on naming of dummy functions