Allow a tag-only mode
In some cases, such as recognising strings (see the init_domain example in DNS), the input is already in a format suitable for further processing and only needs to be validated. In this case, generating the AST and then recreating the input from it is a big overhead - instead it would be nice if the parser could just validate the input according to the grammar and return a range of input bytes as opposed to a full AST.