"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/algol.lang" (12 May 2020, 909 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 "algol.lang": 3.56_vs_3.57.

    1 
    2 Description="ALGOL 68"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={
    9       "mode", "op", "prio", "proc", "flex", "heap", "loc", "long", "ref",
   10       "short", "bits", "bool", "bytes", "char", "compl", "int", "real", "sema",
   11       "string", "void", "channel", "file", "format", "struct", "union", "of", "at",
   12       "is", "isnt", "true", "false", "empty", "nil", "skip", "co", "comment", "pr",
   13       "pragmat", "case", "in", "ouse", "in", "out", "esac", "for", "from", "to", "by",
   14       "while", "do", "od", "if", "then", "elif", "then", "else", "fi", "par", "begin",
   15       "end", "go", "to", "goto", "exit"
   16     }
   17   },
   18 
   19   { Id=3,
   20     Regex=[[ \$\w+?\$ ]]
   21   },
   22 
   23   { Id=4,
   24     Regex=[[(\w+)\s*\(]]
   25   }
   26 
   27 }
   28 
   29 Comments = {
   30   {
   31     Block=false,
   32     Delimiter = { [[#]] }
   33   }
   34 }
   35 
   36 Strings = {
   37   Delimiter=[["]]
   38 }
   39 
   40 IgnoreCase=true
   41 
   42 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]