Carleton University
Technical Report TR-06-02
February 1, 2006

A Grammar for Describing Protocol Text

E. Hughes

Abstract

Some streaming network protocols contain text that cannot be de- scribed with context free grammars, because they either specify length of subsequent fields numerically, or use runtime-defined field terminators. This document describes a grammar that can parse at least some of these protocols.

TR-06-02.pdf