"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/ebnf.lang" (12 May 2020, 450 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 "ebnf.lang": 3.53_vs_3.54.

    1 
    2 Description="Extended Backus-Naur Form"
    3 
    4 -- Syntax file created by Mate Ory
    5 
    6 Categories = {"protocol"}
    7 
    8 Keywords={
    9   { Id=1,
   10     Regex=[[^\s*([^=]+)\s*=]],
   11   },
   12   { Id=2,
   13     Regex=[[ [?][^?]+[?] ]],
   14   },
   15   { Id=3,
   16     Regex=[[ [a-zA-Z][-a-zA-Z0-9]* ]],
   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=[[\(|\)|\[|\]|\{|\}|\;|\-|\*]]