"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/abnf.lang" (12 May 2020, 592 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Description="Advanced Backus-Naur Form"
    2 
    3 Categories = {"protocol"}
    4 
    5 Keywords={
    6   { Id=1,
    7     Regex=[[^\s*([^=]+)\s*=]],
    8   },
    9   { Id=2,
   10     Regex=[[ [?][^?]+[?] ]],
   11   },
   12   { Id=3,
   13     Regex=[[ [a-zA-Z][-a-zA-Z0-9]* ]],
   14   },
   15   { Id=4,
   16     List={"ALPHA", "DIGIT", "HEXDIG", "DQUOTE", "SP", "HTAB", "WSP", "LWSP", "VCHAR", "CHAR", "OCTET", "CTL", "CR", "LF", "CRLF", "BIT"},
   17   },
   18 }
   19 
   20 Strings={
   21   Delimiter=[["|']],
   22 }
   23 
   24 Comments={
   25   { Block=true,
   26     Nested=false,
   27     Delimiter= { [[\(\*]],[[\*\)]] }
   28   }
   29 }
   30 
   31 IgnoreCase=false
   32 
   33 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]