Skip to content

Instantly share code, notes, and snippets.

View NobodysNightmare's full-sized avatar

Jan Sandbrink NobodysNightmare

  • Berlin, Germany
View GitHub Profile
@NobodysNightmare
NobodysNightmare / gist:1345283
Created November 7, 2011 15:30
ANTLR TDL-Grammar
grammar TDL;
specification
: WS? (protocolDefinition | messageDefinition | structDefinition)*;
protocolDefinition
:
'protocol' WS identifier WS? '=' WS? 'ID' WS number
WS? '{'
WS? protocolElement*