LL(k) optimization of a network protocol parser generator