-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiagram.xhtml
More file actions
1045 lines (1032 loc) · 61.5 KB
/
diagram.xhtml
File metadata and controls
1045 lines (1032 loc) · 61.5 KB
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="Railroad Diagram Generator 1.45.1338" /><style type="text/css">
::-moz-selection
{
color: #FFFCF0;
background: #0F0C00;
}
::selection
{
color: #FFFCF0;
background: #0F0C00;
}
.ebnf a
{
text-decoration: none;
}
.ebnf a:hover
{
color: #050400;
text-decoration: underline;
}
.signature
{
color: #806600;
font-size: 11px;
text-align: right;
}
body
{
font: normal 12px Verdana, sans-serif;
color: #0F0C00;
background: #FFFCF0;
}
a:link, a:visited
{
color: #0F0C00;
}
a:link.signature, a:visited.signature
{
color: #806600;
}
a.button, #tabs li a
{
padding: 0.25em 0.5em;
border: 1px solid #806600;
background: #F1E8C6;
color: #806600;
text-decoration: none;
font-weight: bold;
}
a.button:hover, #tabs li a:hover
{
color: #050400;
background: #FFF6D1;
border-color: #050400;
}
#tabs
{
padding: 3px 10px;
margin-left: 0;
margin-top: 58px;
border-bottom: 1px solid #0F0C00;
}
#tabs li
{
list-style: none;
margin-left: 5px;
display: inline;
}
#tabs li a
{
border-bottom: 1px solid #0F0C00;
}
#tabs li a.active
{
color: #0F0C00;
background: #FFFCF0;
border-color: #0F0C00;
border-bottom: 1px solid #FFFCF0;
outline: none;
}
#divs div
{
display: none;
overflow:auto;
}
#divs div.active
{
display: block;
}
#text
{
border-color: #806600;
background: #FFFEFA;
color: #050400;
}
.small
{
vertical-align: top;
text-align: right;
font-size: 9px;
font-weight: normal;
line-height: 120%;
}
td.small
{
padding-top: 0px;
}
.hidden
{
visibility: hidden;
}
td:hover .hidden
{
visibility: visible;
}
div.download
{
display: none;
background: #FFFCF0;
position: absolute;
right: 34px;
top: 94px;
padding: 10px;
border: 1px dotted #0F0C00;
}
#divs div.ebnf, div.ebnf
{
display: block;
padding-left: 16px;
padding-top: 2px;
padding-bottom: 2px;
background: #FFF6D1;
}
tr.option-line td:first-child
{
text-align: right
}
tr.option-text td
{
padding-bottom: 10px
}
table.palette
{
border-top: 1px solid #050400;
border-right: 1px solid #050400;
margin-bottom: 4px
}
td.palette
{
border-bottom: 1px solid #050400;
border-left: 1px solid #050400;
}
a.palette
{
padding: 2px 3px 2px 10px;
text-decoration: none;
}
.palette
{
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
}
</style><svg xmlns="http://www.w3.org/2000/svg">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
</svg>
</head>
<body>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Program">Program:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="220" height="52">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 33 1 29 1 37"/>
<polygon points="17 33 9 29 9 37"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Clause" xlink:title="Clause">
<rect x="51" y="19" width="62" height="32"/>
<rect x="49" y="17" width="62" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="37">Clause</text>
</a>
<rect x="153" y="19" width="40" height="32" rx="10"/>
<rect x="151" y="17" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="161" y="37">eof</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 33 h2 m20 0 h10 m62 0 h10 m-102 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m82 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-82 0 h10 m0 0 h72 m20 32 h10 m40 0 h10 m3 0 h-3"/>
<polygon points="211 33 219 29 219 37"/>
<polygon points="211 33 203 29 203 37"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Program" title="Program">Program</a> ::= <a href="#Clause" title="Clause">Clause</a>+ 'eof'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">no references</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Query">Query:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="280" height="80">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 61 1 57 1 65"/>
<polygon points="17 61 9 57 9 65"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Predicate" xlink:title="Predicate">
<rect x="51" y="47" width="78" height="32"/>
<rect x="49" y="45" width="78" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="65">Predicate</text>
</a>
<rect x="51" y="3" width="24" height="32" rx="10"/>
<rect x="49" y="1" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="21">,</text>
<rect x="169" y="47" width="24" height="32" rx="10"/>
<rect x="167" y="45" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="177" y="65">.</text>
<rect x="213" y="47" width="40" height="32" rx="10"/>
<rect x="211" y="45" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="221" y="65">eof</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 61 h2 m20 0 h10 m78 0 h10 m-118 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m98 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-98 0 h10 m24 0 h10 m0 0 h54 m20 44 h10 m24 0 h10 m0 0 h10 m40 0 h10 m3 0 h-3"/>
<polygon points="271 61 279 57 279 65"/>
<polygon points="271 61 263 57 263 65"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Query" title="Query">Query</a> ::= <a href="#Predicate" title="Predicate">Predicate</a> ( ',' <a href="#Predicate" title="Predicate">Predicate</a> )* '.' 'eof'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">no references</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Clause">Clause:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="438" height="96">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 61 1 57 1 65"/>
<polygon points="17 61 9 57 9 65"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#UserPredicate" xlink:title="UserPredicate">
<rect x="31" y="47" width="108" height="32"/>
<rect x="29" y="45" width="108" height="32" class="nonterminal"/>
<text class="nonterminal" x="39" y="65">UserPredicate</text>
</a>
<rect x="179" y="47" width="30" height="32" rx="10"/>
<rect x="177" y="45" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="187" y="65">:-</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Predicate" xlink:title="Predicate">
<rect x="249" y="47" width="78" height="32"/>
<rect x="247" y="45" width="78" height="32" class="nonterminal"/>
<text class="nonterminal" x="257" y="65">Predicate</text>
</a>
<rect x="249" y="3" width="24" height="32" rx="10"/>
<rect x="247" y="1" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="257" y="21">,</text>
<rect x="387" y="47" width="24" height="32" rx="10"/>
<rect x="385" y="45" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="395" y="65">.</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 61 h2 m0 0 h10 m108 0 h10 m20 0 h10 m30 0 h10 m20 0 h10 m78 0 h10 m-118 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m98 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-98 0 h10 m24 0 h10 m0 0 h54 m-188 44 h20 m188 0 h20 m-228 0 q10 0 10 10 m208 0 q0 -10 10 -10 m-218 10 v14 m208 0 v-14 m-208 14 q0 10 10 10 m188 0 q10 0 10 -10 m-198 10 h10 m0 0 h178 m20 -34 h10 m24 0 h10 m3 0 h-3"/>
<polygon points="429 61 437 57 437 65"/>
<polygon points="429 61 421 57 421 65"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Clause" title="Clause">Clause</a> ::= <a href="#UserPredicate" title="UserPredicate">UserPredicate</a> ( ':-' <a href="#Predicate" title="Predicate">Predicate</a> ( ',' <a href="#Predicate" title="Predicate">Predicate</a> )* )? '.'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Program" title="Program">Program</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Predicate">Predicate:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="214" height="80">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#UserPredicate" xlink:title="UserPredicate">
<rect x="51" y="3" width="108" height="32"/>
<rect x="49" y="1" width="108" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="21">UserPredicate</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#BuiltinPredicate" xlink:title="BuiltinPredicate">
<rect x="51" y="47" width="116" height="32"/>
<rect x="49" y="45" width="116" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="65">BuiltinPredicate</text>
</a>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m20 0 h10 m108 0 h10 m0 0 h8 m-156 0 h20 m136 0 h20 m-176 0 q10 0 10 10 m156 0 q0 -10 10 -10 m-166 10 v24 m156 0 v-24 m-156 24 q0 10 10 10 m136 0 q10 0 10 -10 m-146 10 h10 m116 0 h10 m23 -44 h-3"/>
<polygon points="205 17 213 13 213 21"/>
<polygon points="205 17 197 13 197 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Predicate" title="Predicate">Predicate</a>
::= <a href="#UserPredicate" title="UserPredicate">UserPredicate</a>
| <a href="#BuiltinPredicate" title="BuiltinPredicate">BuiltinPredicate</a></xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Clause" title="Clause">Clause</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#Query" title="Query">Query</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="UserPredicate">UserPredicate:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="316" height="80">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 61 1 57 1 65"/>
<polygon points="17 61 9 57 9 65"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Name" xlink:title="Name">
<rect x="31" y="47" width="56" height="32"/>
<rect x="29" y="45" width="56" height="32" class="nonterminal"/>
<text class="nonterminal" x="39" y="65">Name</text>
</a>
<rect x="107" y="47" width="26" height="32" rx="10"/>
<rect x="105" y="45" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="115" y="65">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Term" xlink:title="Term">
<rect x="173" y="47" width="50" height="32"/>
<rect x="171" y="45" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="181" y="65">Term</text>
</a>
<rect x="173" y="3" width="24" height="32" rx="10"/>
<rect x="171" y="1" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="181" y="21">,</text>
<rect x="263" y="47" width="26" height="32" rx="10"/>
<rect x="261" y="45" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="271" y="65">)</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 61 h2 m0 0 h10 m56 0 h10 m0 0 h10 m26 0 h10 m20 0 h10 m50 0 h10 m-90 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m70 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-70 0 h10 m24 0 h10 m0 0 h26 m20 44 h10 m26 0 h10 m3 0 h-3"/>
<polygon points="307 61 315 57 315 65"/>
<polygon points="307 61 299 57 299 65"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#UserPredicate" title="UserPredicate">UserPredicate</a>
::= <a href="#Name" title="Name">Name</a> '(' <a href="#Term" title="Term">Term</a> ( ',' <a href="#Term" title="Term">Term</a> )* ')'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Clause" title="Clause">Clause</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#Predicate" title="Predicate">Predicate</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="BuiltinPredicate">BuiltinPredicate:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="462" height="564">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<rect x="71" y="3" width="40" height="32" rx="10"/>
<rect x="69" y="1" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="21"><=</text>
<rect x="71" y="47" width="40" height="32" rx="10"/>
<rect x="69" y="45" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="65">>=</text>
<rect x="71" y="91" width="30" height="32" rx="10"/>
<rect x="69" y="89" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="109">=</text>
<rect x="71" y="135" width="40" height="32" rx="10"/>
<rect x="69" y="133" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="153">==</text>
<rect x="71" y="179" width="44" height="32" rx="10"/>
<rect x="69" y="177" width="44" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="197">=:=</text>
<rect x="71" y="223" width="38" height="32" rx="10"/>
<rect x="69" y="221" width="38" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="241">\=</text>
<rect x="71" y="267" width="48" height="32" rx="10"/>
<rect x="69" y="265" width="48" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="285">\==</text>
<rect x="71" y="311" width="48" height="32" rx="10"/>
<rect x="69" y="309" width="48" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="329">=\=</text>
<rect x="71" y="355" width="30" height="32" rx="10"/>
<rect x="69" y="353" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="373">is</text>
<rect x="159" y="3" width="26" height="32" rx="10"/>
<rect x="157" y="1" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="167" y="21">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Term" xlink:title="Term">
<rect x="205" y="3" width="50" height="32"/>
<rect x="203" y="1" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="213" y="21">Term</text>
</a>
<rect x="275" y="3" width="24" height="32" rx="10"/>
<rect x="273" y="1" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="283" y="21">,</text>
<rect x="71" y="399" width="42" height="32" rx="10"/>
<rect x="69" y="397" width="42" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="417">var</text>
<rect x="71" y="443" width="72" height="32" rx="10"/>
<rect x="69" y="441" width="72" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="461">not_var</text>
<rect x="71" y="487" width="66" height="32" rx="10"/>
<rect x="69" y="485" width="66" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="505">integer</text>
<rect x="71" y="531" width="96" height="32" rx="10"/>
<rect x="69" y="529" width="96" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="549">not_integer</text>
<rect x="207" y="399" width="26" height="32" rx="10"/>
<rect x="205" y="397" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="215" y="417">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Term" xlink:title="Term">
<rect x="339" y="3" width="50" height="32"/>
<rect x="337" y="1" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="347" y="21">Term</text>
</a>
<rect x="409" y="3" width="26" height="32" rx="10"/>
<rect x="407" y="1" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="417" y="21">)</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m40 0 h10 m40 0 h10 m0 0 h8 m-88 0 h20 m68 0 h20 m-108 0 q10 0 10 10 m88 0 q0 -10 10 -10 m-98 10 v24 m88 0 v-24 m-88 24 q0 10 10 10 m68 0 q10 0 10 -10 m-78 10 h10 m40 0 h10 m0 0 h8 m-78 -10 v20 m88 0 v-20 m-88 20 v24 m88 0 v-24 m-88 24 q0 10 10 10 m68 0 q10 0 10 -10 m-78 10 h10 m30 0 h10 m0 0 h18 m-78 -10 v20 m88 0 v-20 m-88 20 v24 m88 0 v-24 m-88 24 q0 10 10 10 m68 0 q10 0 10 -10 m-78 10 h10 m40 0 h10 m0 0 h8 m-78 -10 v20 m88 0 v-20 m-88 20 v24 m88 0 v-24 m-88 24 q0 10 10 10 m68 0 q10 0 10 -10 m-78 10 h10 m44 0 h10 m0 0 h4 m-78 -10 v20 m88 0 v-20 m-88 20 v24 m88 0 v-24 m-88 24 q0 10 10 10 m68 0 q10 0 10 -10 m-78 10 h10 m38 0 h10 m0 0 h10 m-78 -10 v20 m88 0 v-20 m-88 20 v24 m88 0 v-24 m-88 24 q0 10 10 10 m68 0 q10 0 10 -10 m-78 10 h10 m48 0 h10 m-78 -10 v20 m88 0 v-20 m-88 20 v24 m88 0 v-24 m-88 24 q0 10 10 10 m68 0 q10 0 10 -10 m-78 10 h10 m48 0 h10 m-78 -10 v20 m88 0 v-20 m-88 20 v24 m88 0 v-24 m-88 24 q0 10 10 10 m68 0 q10 0 10 -10 m-78 10 h10 m30 0 h10 m0 0 h18 m20 -352 h10 m26 0 h10 m0 0 h10 m50 0 h10 m0 0 h10 m24 0 h10 m-288 0 h20 m268 0 h20 m-308 0 q10 0 10 10 m288 0 q0 -10 10 -10 m-298 10 v376 m288 0 v-376 m-288 376 q0 10 10 10 m268 0 q10 0 10 -10 m-258 10 h10 m42 0 h10 m0 0 h54 m-136 0 h20 m116 0 h20 m-156 0 q10 0 10 10 m136 0 q0 -10 10 -10 m-146 10 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m72 0 h10 m0 0 h24 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m66 0 h10 m0 0 h30 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m96 0 h10 m20 -132 h10 m26 0 h10 m0 0 h66 m20 -396 h10 m50 0 h10 m0 0 h10 m26 0 h10 m3 0 h-3"/>
<polygon points="453 17 461 13 461 21"/>
<polygon points="453 17 445 13 445 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#BuiltinPredicate" title="BuiltinPredicate">BuiltinPredicate</a>
::= ( ( '<=' | '>=' | '=' | '==' | '=:=' | '\=' | '\==' | '=\=' | 'is' ) '(' <a href="#Term" title="Term">Term</a> ',' | ( 'var' | 'not_var' | 'integer' | 'not_integer' ) '(' ) <a href="#Term" title="Term">Term</a> ')'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Predicate" title="Predicate">Predicate</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Term">Term:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="444" height="426">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Int" xlink:title="Int">
<rect x="51" y="3" width="38" height="32"/>
<rect x="49" y="1" width="38" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="21">Int</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Variable" xlink:title="Variable">
<rect x="51" y="47" width="70" height="32"/>
<rect x="49" y="45" width="70" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="65">Variable</text>
</a>
<rect x="71" y="91" width="30" height="32" rx="10"/>
<rect x="69" y="89" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="109">+</text>
<rect x="71" y="135" width="26" height="32" rx="10"/>
<rect x="69" y="133" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="153">-</text>
<rect x="71" y="179" width="28" height="32" rx="10"/>
<rect x="69" y="177" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="197">*</text>
<rect x="71" y="223" width="28" height="32" rx="10"/>
<rect x="69" y="221" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="241">/</text>
<rect x="141" y="91" width="26" height="32" rx="10"/>
<rect x="139" y="89" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="149" y="109">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Term" xlink:title="Term">
<rect x="187" y="91" width="50" height="32"/>
<rect x="185" y="89" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="195" y="109">Term</text>
</a>
<rect x="257" y="91" width="24" height="32" rx="10"/>
<rect x="255" y="89" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="265" y="109">,</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Term" xlink:title="Term">
<rect x="301" y="91" width="50" height="32"/>
<rect x="299" y="89" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="309" y="109">Term</text>
</a>
<rect x="371" y="91" width="26" height="32" rx="10"/>
<rect x="369" y="89" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="379" y="109">)</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Name" xlink:title="Name">
<rect x="51" y="311" width="56" height="32"/>
<rect x="49" y="309" width="56" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="329">Name</text>
</a>
<rect x="147" y="311" width="26" height="32" rx="10"/>
<rect x="145" y="309" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="155" y="329">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Term" xlink:title="Term">
<rect x="233" y="311" width="50" height="32"/>
<rect x="231" y="309" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="241" y="329">Term</text>
</a>
<rect x="233" y="267" width="24" height="32" rx="10"/>
<rect x="231" y="265" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="241" y="285">,</text>
<rect x="343" y="311" width="26" height="32" rx="10"/>
<rect x="341" y="309" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="351" y="329">)</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#List" xlink:title="List">
<rect x="51" y="393" width="42" height="32"/>
<rect x="49" y="391" width="42" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="411">List</text>
</a>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m20 0 h10 m38 0 h10 m0 0 h308 m-386 0 h20 m366 0 h20 m-406 0 q10 0 10 10 m386 0 q0 -10 10 -10 m-396 10 v24 m386 0 v-24 m-386 24 q0 10 10 10 m366 0 q10 0 10 -10 m-376 10 h10 m70 0 h10 m0 0 h276 m-376 -10 v20 m386 0 v-20 m-386 20 v24 m386 0 v-24 m-386 24 q0 10 10 10 m366 0 q10 0 10 -10 m-356 10 h10 m30 0 h10 m-70 0 h20 m50 0 h20 m-90 0 q10 0 10 10 m70 0 q0 -10 10 -10 m-80 10 v24 m70 0 v-24 m-70 24 q0 10 10 10 m50 0 q10 0 10 -10 m-60 10 h10 m26 0 h10 m0 0 h4 m-60 -10 v20 m70 0 v-20 m-70 20 v24 m70 0 v-24 m-70 24 q0 10 10 10 m50 0 q10 0 10 -10 m-60 10 h10 m28 0 h10 m0 0 h2 m-60 -10 v20 m70 0 v-20 m-70 20 v24 m70 0 v-24 m-70 24 q0 10 10 10 m50 0 q10 0 10 -10 m-60 10 h10 m28 0 h10 m0 0 h2 m20 -132 h10 m26 0 h10 m0 0 h10 m50 0 h10 m0 0 h10 m24 0 h10 m0 0 h10 m50 0 h10 m0 0 h10 m26 0 h10 m-376 -10 v20 m386 0 v-20 m-386 20 v200 m386 0 v-200 m-386 200 q0 10 10 10 m366 0 q10 0 10 -10 m-376 10 h10 m56 0 h10 m20 0 h10 m26 0 h10 m40 0 h10 m50 0 h10 m-90 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m70 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-70 0 h10 m24 0 h10 m0 0 h26 m-110 44 h20 m110 0 h20 m-150 0 q10 0 10 10 m130 0 q0 -10 10 -10 m-140 10 v14 m130 0 v-14 m-130 14 q0 10 10 10 m110 0 q10 0 10 -10 m-120 10 h10 m0 0 h100 m20 -34 h10 m26 0 h10 m-262 0 h20 m242 0 h20 m-282 0 q10 0 10 10 m262 0 q0 -10 10 -10 m-272 10 v30 m262 0 v-30 m-262 30 q0 10 10 10 m242 0 q10 0 10 -10 m-252 10 h10 m0 0 h232 m20 -50 h8 m-376 -10 v20 m386 0 v-20 m-386 20 v62 m386 0 v-62 m-386 62 q0 10 10 10 m366 0 q10 0 10 -10 m-376 10 h10 m42 0 h10 m0 0 h304 m23 -390 h-3"/>
<polygon points="435 17 443 13 443 21"/>
<polygon points="435 17 427 13 427 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Term" title="Term">Term</a> ::= <a href="#Int" title="Int">Int</a>
| <a href="#Variable" title="Variable">Variable</a>
| ( '+' | '-' | '*' | '/' ) '(' <a href="#Term" title="Term">Term</a> ',' <a href="#Term" title="Term">Term</a> ')'
| <a href="#Name" title="Name">Name</a> ( '(' ( <a href="#Term" title="Term">Term</a> ( ',' <a href="#Term" title="Term">Term</a> )* )? ')' )?
| <a href="#List" title="List">List</a></xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#BuiltinPredicate" title="BuiltinPredicate">BuiltinPredicate</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#List" title="List">List</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#Term" title="Term">Term</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#UserPredicate" title="UserPredicate">UserPredicate</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="List">List:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="496" height="172">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 61 1 57 1 65"/>
<polygon points="17 61 9 57 9 65"/>
<rect x="31" y="47" width="26" height="32" rx="10"/>
<rect x="29" y="45" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="39" y="65">[</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Term" xlink:title="Term">
<rect x="117" y="47" width="50" height="32"/>
<rect x="115" y="45" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="125" y="65">Term</text>
</a>
<rect x="117" y="3" width="24" height="32" rx="10"/>
<rect x="115" y="1" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="125" y="21">,</text>
<rect x="227" y="79" width="26" height="32" rx="10"/>
<rect x="225" y="77" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="235" y="97">|</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#List" xlink:title="List">
<rect x="293" y="79" width="42" height="32"/>
<rect x="291" y="77" width="42" height="32" class="nonterminal"/>
<text class="nonterminal" x="301" y="97">List</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Variable" xlink:title="Variable">
<rect x="293" y="123" width="70" height="32"/>
<rect x="291" y="121" width="70" height="32" class="nonterminal"/>
<text class="nonterminal" x="301" y="141">Variable</text>
</a>
<rect x="443" y="47" width="26" height="32" rx="10"/>
<rect x="441" y="45" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="451" y="65">]</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 61 h2 m0 0 h10 m26 0 h10 m40 0 h10 m50 0 h10 m-90 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m70 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-70 0 h10 m24 0 h10 m0 0 h26 m40 44 h10 m0 0 h166 m-196 0 h20 m176 0 h20 m-216 0 q10 0 10 10 m196 0 q0 -10 10 -10 m-206 10 v12 m196 0 v-12 m-196 12 q0 10 10 10 m176 0 q10 0 10 -10 m-186 10 h10 m26 0 h10 m20 0 h10 m42 0 h10 m0 0 h28 m-110 0 h20 m90 0 h20 m-130 0 q10 0 10 10 m110 0 q0 -10 10 -10 m-120 10 v24 m110 0 v-24 m-110 24 q0 10 10 10 m90 0 q10 0 10 -10 m-100 10 h10 m70 0 h10 m-306 -76 h20 m326 0 h20 m-366 0 q10 0 10 10 m346 0 q0 -10 10 -10 m-356 10 v90 m346 0 v-90 m-346 90 q0 10 10 10 m326 0 q10 0 10 -10 m-336 10 h10 m0 0 h316 m20 -110 h10 m26 0 h10 m3 0 h-3"/>
<polygon points="487 61 495 57 495 65"/>
<polygon points="487 61 479 57 479 65"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#List" title="List">List</a> ::= '[' ( <a href="#Term" title="Term">Term</a> ( ',' <a href="#Term" title="Term">Term</a> )* ( '|' ( <a href="#List" title="List">List</a> | <a href="#Variable" title="Variable">Variable</a> ) )? )? ']'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#List" title="List">List</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#Term" title="Term">Term</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Int">Int:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="158" height="52">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 33 1 29 1 37"/>
<polygon points="17 33 9 29 9 37"/>
<polygon points="51 35 58 19 104 19 111 35 104 51 58 51"/>
<polygon points="49 33 56 17 102 17 109 33 102 49 56 49" class="regexp"/>
<text class="regexp" x="64" y="37">[0-9]</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 33 h2 m20 0 h10 m60 0 h10 m-100 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m80 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-80 0 h10 m0 0 h70 m23 32 h-3"/>
<polygon points="149 33 157 29 157 37"/>
<polygon points="149 33 141 29 141 37"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Int" title="Int">Int</a> ::= [0-9]+</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Term" title="Term">Term</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Name">Name:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="238" height="202">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 183 1 179 1 187"/>
<polygon points="17 183 9 179 9 187"/>
<polygon points="31 185 38 169 84 169 91 185 84 201 38 201"/>
<polygon points="29 183 36 167 82 167 89 183 82 199 36 199" class="regexp"/>
<text class="regexp" x="44" y="187">[a-z]</text>
<polygon points="131 151 138 135 184 135 191 151 184 167 138 167"/>
<polygon points="129 149 136 133 182 133 189 149 182 165 136 165" class="regexp"/>
<text class="regexp" x="144" y="153">[a-z]</text>
<polygon points="131 107 138 91 184 91 191 107 184 123 138 123"/>
<polygon points="129 105 136 89 182 89 189 105 182 121 136 121" class="regexp"/>
<text class="regexp" x="144" y="109">[A-Z]</text>
<polygon points="131 63 138 47 184 47 191 63 184 79 138 79"/>
<polygon points="129 61 136 45 182 45 189 61 182 77 136 77" class="regexp"/>
<text class="regexp" x="144" y="65">[0-9]</text>
<rect x="131" y="3" width="28" height="32" rx="10"/>
<rect x="129" y="1" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="139" y="21">_</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 183 h2 m0 0 h10 m60 0 h10 m20 0 h10 m0 0 h70 m-100 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -14 q0 -10 10 -10 m80 34 l20 0 m-20 0 q10 0 10 -10 l0 -14 q0 -10 -10 -10 m-80 0 h10 m60 0 h10 m-90 10 l0 -44 q0 -10 10 -10 m90 54 l0 -44 q0 -10 -10 -10 m-80 0 h10 m60 0 h10 m-90 10 l0 -44 q0 -10 10 -10 m90 54 l0 -44 q0 -10 -10 -10 m-80 0 h10 m60 0 h10 m-90 10 l0 -44 q0 -10 10 -10 m90 54 l0 -44 q0 -10 -10 -10 m-80 0 h10 m28 0 h10 m0 0 h32 m23 166 h-3"/>
<polygon points="229 183 237 179 237 187"/>
<polygon points="229 183 221 179 221 187"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Name" title="Name">Name</a> ::= [a-z] [a-zA-Z0-9_]*</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Term" title="Term">Term</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#UserPredicate" title="UserPredicate">UserPredicate</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Variable">Variable:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="278" height="246">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 183 1 179 1 187"/>
<polygon points="17 183 9 179 9 187"/>
<polygon points="51 185 58 169 104 169 111 185 104 201 58 201"/>
<polygon points="49 183 56 167 102 167 109 183 102 199 56 199" class="regexp"/>
<text class="regexp" x="64" y="187">[A-Z]</text>
<rect x="51" y="213" width="28" height="32" rx="10"/>
<rect x="49" y="211" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="231">_</text>
<polygon points="171 151 178 135 224 135 231 151 224 167 178 167"/>
<polygon points="169 149 176 133 222 133 229 149 222 165 176 165" class="regexp"/>
<text class="regexp" x="184" y="153">[a-z]</text>
<polygon points="171 107 178 91 224 91 231 107 224 123 178 123"/>
<polygon points="169 105 176 89 222 89 229 105 222 121 176 121" class="regexp"/>
<text class="regexp" x="184" y="109">[A-Z]</text>
<polygon points="171 63 178 47 224 47 231 63 224 79 178 79"/>
<polygon points="169 61 176 45 222 45 229 61 222 77 176 77" class="regexp"/>
<text class="regexp" x="184" y="65">[0-9]</text>
<rect x="171" y="3" width="28" height="32" rx="10"/>
<rect x="169" y="1" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="179" y="21">_</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 183 h2 m20 0 h10 m60 0 h10 m-100 0 h20 m80 0 h20 m-120 0 q10 0 10 10 m100 0 q0 -10 10 -10 m-110 10 v24 m100 0 v-24 m-100 24 q0 10 10 10 m80 0 q10 0 10 -10 m-90 10 h10 m28 0 h10 m0 0 h32 m40 -44 h10 m0 0 h70 m-100 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -14 q0 -10 10 -10 m80 34 l20 0 m-20 0 q10 0 10 -10 l0 -14 q0 -10 -10 -10 m-80 0 h10 m60 0 h10 m-90 10 l0 -44 q0 -10 10 -10 m90 54 l0 -44 q0 -10 -10 -10 m-80 0 h10 m60 0 h10 m-90 10 l0 -44 q0 -10 10 -10 m90 54 l0 -44 q0 -10 -10 -10 m-80 0 h10 m60 0 h10 m-90 10 l0 -44 q0 -10 10 -10 m90 54 l0 -44 q0 -10 -10 -10 m-80 0 h10 m28 0 h10 m0 0 h32 m23 166 h-3"/>
<polygon points="269 183 277 179 277 187"/>
<polygon points="269 183 261 179 261 187"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Variable" title="Variable">Variable</a> ::= [A-Z_] [a-zA-Z0-9_]*</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#List" title="List">List</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#Term" title="Term">Term</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Comment">Comment:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="568" height="234">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 51 1 47 1 55"/>
<polygon points="17 51 9 47 9 55"/>
<rect x="51" y="37" width="36" height="32" rx="10"/>
<rect x="49" y="35" width="36" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="55">/*</text>
<polygon points="167 53 174 37 218 37 225 53 218 69 174 69"/>
<polygon points="165 51 172 35 216 35 223 51 216 67 172 67" class="regexp"/>
<text class="regexp" x="180" y="55">[^*]</text>
<rect x="187" y="103" width="28" height="32" rx="10"/>
<rect x="185" y="101" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="195" y="121">*</text>
<polygon points="255 119 262 103 310 103 317 119 310 135 262 135"/>
<polygon points="253 117 260 101 308 101 315 117 308 133 260 133" class="regexp"/>
<text class="regexp" x="268" y="121">[^*/]</text>
<rect x="417" y="3" width="28" height="32" rx="10"/>
<rect x="415" y="1" width="28" height="32" class="terminal" rx="10"/>