File: pro.lang

package info (click to toggle)
highlight 4.10-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,556 kB
  • sloc: cpp: 27,579; makefile: 411; sh: 341; ansic: 264; php: 236; python: 217; ruby: 132; perl: 61; tcl: 1
file content (53 lines) | stat: -rw-r--r-- 1,576 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

Description="Prolog"

Categories = {"source", "functional"}

Keywords={
  { Id=1,
    List={"true", "fail", "at_end_of_stream", "nl", "repeat", "halt", "is", "rem", "mod"},
  },
  { Id=2,
    List={"call", "catch", "throw", "unify_with_occurs_check", "var", "atom",
        "integer", "float", "atomic", "compound", "nonvar", "number", "functor", "arg",
        "copy_term", "clause", "current_predicate", "asserta", "assertz", "retract",
        "abolish", "findall", "bagof", "setof", "current_input", "current_output",
        "set_input", "set_output", "open", "close", "stream_property",
        "at_end_of_stream", "set_stream_position", "get_char", "get_code", "peek_char",
        "peek_code", "put_char", "put_code", "nl", "get_byte", "peek_byte", "put_byte",
        "read_term", "read", "write_term", "write", "writeq", "write_canonical", "op",
        "current_op", "char_conversion", "current_char_conversion", "once",
        "atom_length", "atom_concat", "sub_atom", "atom_chars", "atom_codes",
        "char_code", "number_chars", "number_codes", "set_prolog_flag",
        "current_prolog_flag", "halt", "sin", "cos", "atan", "exp", "log", "sqrt"},
  },
  { Id=3,
    Regex=[[0(')\w+]],
  },
  { Id=4,
    Regex=[[(\w+)\s*\(]],
  },
}

Strings={
  Delimiter=[["|']],
  Interpolation=[[ ~\w+ ]]
}

IgnoreCase=false

Comments={
  { Block=false,
    Delimiter= { [[%]] },
  },
  { Block=true,
    Nested=false,
    Delimiter= { [[\/\*]],[[\*\/]],}
  }
}

PreProcessor={
  Prefix=[[#]],
}

Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-|\.|\|]]