"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/bnf.lang" (12 May 2020, 465 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. See also the last Fossies "Diffs" side-by-side code changes report for "bnf.lang": 3.53_vs_3.54.

    1 
    2 Description="Backus-Naur Form"
    3 
    4 -- Syntax file created by Julien Fontanet
    5 
    6 Categories = {"protocol"}
    7 
    8 Identifiers=[[ [-a-zA-Z_]+|<[-a-zA-Z_]+> ]]
    9 
   10 Keywords={
   11   { Id=1,
   12     Regex=[[ ^[ \t]*([-a-zA-Z_]+|<[-a-zA-Z_]+>)\s*[:=] ]],
   13   },
   14 }
   15 
   16 Strings={
   17   Delimiter=[["]],
   18 }
   19 
   20 IgnoreCase=false
   21 
   22 Comments={
   23   { Block=false,
   24     Delimiter= { [[//]] },
   25   },
   26   { Block=true,
   27     Nested=false,
   28     Delimiter= { [[\/\*]],[[\*\/]],}
   29   }
   30 }
   31 
   32 Operators=[[\(|\)|\[|\]|\{|\}|\.|\:|\=]]