1. A parser comprising: a parser stack configured to store one or more parsing symbols corresponding to different states associated with a data stream; and a controller configured to receive one or more production rules and parse the data stream according to the production rules and the parsing symbols in the parser stack, the controller to obtain co-processor instruction identifiers from one or more of the received production rules, and where the controller is configured to initiate one or more co-processors for processing the data stream according to the co-processor instruction identifiers in at least one of the production rules.