Add docstring to `tip.parser`

Please note that this commit also addresses the terrible naming of `tip.parser/grammar`, which is now `tip.parser/parser`. It was probably not the time or place to do it, but now at least our suffering has come to an end.