summaryrefslogtreecommitdiff
path: root/tests/examplefiles/cplint/bag_game_mpe.pl.output
blob: 1053530457ab8f4f4a295678f174534c8bdb646c (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
':-'          Operator
' '           Text
'use_module'  Name.Function
'('           Punctuation
'library'     Name.Function
'('           Punctuation
'pita'        Literal.String.Atom
')'           Punctuation
')'           Punctuation
'.'           Punctuation
'\n\n'        Text

':-'          Operator
' '           Text
'if'          Name.Function
'('           Punctuation
'current_predicate' Name.Function
'('           Punctuation
'use_rendering' Literal.String.Atom
'/'           Operator
'1'           Literal.Number.Integer
')'           Punctuation
')'           Punctuation
'.'           Punctuation
'\n'          Text

':-'          Operator
' '           Text
'use_rendering' Name.Function
'('           Punctuation
'c3'          Literal.String.Atom
')'           Punctuation
'.'           Punctuation
'\n'          Text

':-'          Operator
' '           Text
'use_rendering' Name.Function
'('           Punctuation
'graphviz'    Literal.String.Atom
')'           Punctuation
'.'           Punctuation
'\n'          Text

':-'          Operator
' '           Text
'use_rendering' Name.Function
'('           Punctuation
'table'       Literal.String.Atom
','           Punctuation
'['           Punctuation
'header'      Name.Function
'('           Punctuation
'['           Punctuation
"'Multivalued variable index'" Literal.String.Atom
','           Punctuation
"'Rule index'" Literal.String.Atom
','           Punctuation
"'Grounding substitution'" Literal.String.Atom
']'           Punctuation
')'           Punctuation
']'           Punctuation
')'           Punctuation
'.'           Punctuation
'\n'          Text

':-'          Operator
' '           Text
'endif'       Literal.String.Atom
'.'           Punctuation
'\n\n'        Text

':-'          Operator
' '           Text
'pita'        Literal.String.Atom
'.'           Punctuation
'\n\n'        Text

':-'          Operator
' '           Text
'begin_lpad'  Literal.String.Atom
'.'           Punctuation
'\n\n'        Text

'win'         Name.Function
' '           Text
':-'          Operator
' '           Text
'red'         Literal.String.Atom
','           Punctuation
' '           Text
'green'       Literal.String.Atom
'.'           Punctuation
'\n'          Text

'win'         Name.Function
' '           Text
':-'          Operator
' '           Text
'blue'        Literal.String.Atom
','           Punctuation
' '           Text
'yellow'      Literal.String.Atom
'.'           Punctuation
'\n\n'        Text

'map_query'   Keyword
' '           Text
'0.4'         Literal.Number.Float
'::'          Operator
'red'         Literal.String.Atom
'.'           Punctuation
'\n'          Text

'map_query'   Keyword
' '           Text
'0.9'         Literal.Number.Float
'::'          Operator
'green'       Literal.String.Atom
'.'           Punctuation
'\n'          Text

'map_query'   Keyword
' '           Text
'0.5'         Literal.Number.Float
'::'          Operator
'blue'        Literal.String.Atom
'.'           Punctuation
'\n'          Text

'map_query'   Keyword
' '           Text
'0.6'         Literal.Number.Float
'::'          Operator
'yellow'      Literal.String.Atom
'.'           Punctuation
'\n\n\n'      Text

':-'          Operator
' '           Text
'end_lpad'    Literal.String.Atom
'.'           Punctuation
'\n\n'        Text

'/*'          Comment.Multiline
'*'           Comment.Multiline
" <examples>\n?- map(win,P,Exp).\nExp = [\n  rule(0, '', [red:0.4, '' : 0.6], true), \n  rule(1, green, [green:0.9, '' : 0.09999999999999998], true), \n  rule(2, blue, [blue:0.5, '' : 0.5], true), \n  rule(3, yellow, [yellow:0.6, '' : 0.4], true)],\nP = 0.162,\n\n\n" Comment.Multiline

'*/'          Comment.Multiline
'\n'          Text