"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/pro.lang" (12 May 2020, 1576 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 
    2 Description="Prolog"
    3 
    4 Categories = {"source", "functional"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={"true", "fail", "at_end_of_stream", "nl", "repeat", "halt", "is", "rem", "mod"},
    9   },
   10   { Id=2,
   11     List={"call", "catch", "throw", "unify_with_occurs_check", "var", "atom",
   12         "integer", "float", "atomic", "compound", "nonvar", "number", "functor", "arg",
   13         "copy_term", "clause", "current_predicate", "asserta", "assertz", "retract",
   14         "abolish", "findall", "bagof", "setof", "current_input", "current_output",
   15         "set_input", "set_output", "open", "close", "stream_property",
   16         "at_end_of_stream", "set_stream_position", "get_char", "get_code", "peek_char",
   17         "peek_code", "put_char", "put_code", "nl", "get_byte", "peek_byte", "put_byte",
   18         "read_term", "read", "write_term", "write", "writeq", "write_canonical", "op",
   19         "current_op", "char_conversion", "current_char_conversion", "once",
   20         "atom_length", "atom_concat", "sub_atom", "atom_chars", "atom_codes",
   21         "char_code", "number_chars", "number_codes", "set_prolog_flag",
   22         "current_prolog_flag", "halt", "sin", "cos", "atan", "exp", "log", "sqrt"},
   23   },
   24   { Id=3,
   25     Regex=[[0(')\w+]],
   26   },
   27   { Id=4,
   28     Regex=[[(\w+)\s*\(]],
   29   },
   30 }
   31 
   32 Strings={
   33   Delimiter=[["|']],
   34   Interpolation=[[ ~\w+ ]]
   35 }
   36 
   37 IgnoreCase=false
   38 
   39 Comments={
   40   { Block=false,
   41     Delimiter= { [[%]] },
   42   },
   43   { Block=true,
   44     Nested=false,
   45     Delimiter= { [[\/\*]],[[\*\/]],}
   46   }
   47 }
   48 
   49 PreProcessor={
   50   Prefix=[[#]],
   51 }
   52 
   53 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-|\.|\|]]