"Fossies" - the Fresh Open Source Software Archive

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

    1 
    2 Description="Erlang"
    3 
    4 Categories = {"source"}
    5 
    6 
    7 Keywords={
    8   { Id=1,
    9     List={"after", "begin", "case", "catch", "cond", "end", "fun", "if", "let", "of", "query", "receive", "when"},
   10   },
   11   { Id=2,
   12     List={"abs", "alive", "apply", "atom_to_list", "binary_to_list",
   13 "binary_to_term", "concat_binary", "date", "disconnect_node", "element",
   14 "erase", "exit", "float", "float_to_list", "get", "get_keys", "group_leader",
   15 "halt", "hd", "integer_to_list", "is_alive", "length", "link", "list_to_atom",
   16 "list_to_binary", "list_to_float", "list_to_integer", "list_to_pid",
   17 "list_to_tuple", "load_module", "make_ref", "monitor_node", "node", "nodes",
   18 "now", "open_port", "pid_to_list", "process_flag", "process_info", "process",
   19 "put", "register", "registered", "round", "self", "setelement", "size", "spawn",
   20 "spawn_link", "split_binary", "statistics", "term_to_binary", "throw", "time",
   21 "tl", "trunc", "tuple_to_list", "unlink", "unregister", "whereis", "atom",
   22 "binary", "constant", "function", "integer", "list", "number", "pid", "ports",
   23 "port_close", "port_info", "reference", "record", "check_process_code",
   24 "delete_module", "get_cookie", "hash", "math", "module_loaded", "preloaded",
   25 "processes", "purge_module", "set_cookie", "set_node", "acos", "asin", "atan", "atan2", "cos", "cosh", "exp",
   26 "log", "log10", "pi", "pow", "power", "sin", "sinh", "sqrt", "tan", "tanh"},
   27   },
   28   { Id=3,
   29     Regex=[[(\w+):]],
   30   },
   31   { Id=4,
   32     Regex=[[(\w+)\s*\(]],
   33   },
   34 }
   35 
   36 Strings={
   37   Delimiter=[["|']],
   38   Interpolation=[[ ~\w ]],
   39 }
   40 
   41 IgnoreCase=false
   42 
   43 Comments={
   44   { Block=false,
   45     Delimiter= { [[%]] },
   46   },
   47 }
   48 
   49 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-|\.|\|]]