Debian Codegraph @

tests/snippets/elpi/test_clause.txt

raw
1 ---input---
2 true.
3 stop :- !.
4 of (fun F) :- pi x\ of x => of (F x).
5 match (uvar as Y) :- print Y.
6 f :- forall (_\ true) [].
7
8 ---tokens---
9 'true' Text
10 '.' Operator
11 '\n' Text.Whitespace
12
13 'stop' Text
14 ' ' Text.Whitespace
15 ':-' Keyword.Declaration
16 ' ' Text.Whitespace
17 '!' Keyword.Declaration
18 '.' Operator
19 '\n' Text.Whitespace
20
21 'of' Text
22 ' ' Text.Whitespace
23 '(' Punctuation
24 'fun' Text
25 ' ' Text.Whitespace
26 'F' Name.Variable
27 ')' Punctuation
28 ' ' Text.Whitespace
29 ':-' Keyword.Declaration
30 ' ' Text.Whitespace
31 'pi' Keyword.Declaration
32 ' ' Text.Whitespace
33 'x' Name.Variable
34 '\\' Text
35 ' ' Text.Whitespace
36 'of' Text
37 ' ' Text.Whitespace
38 'x' Text
39 ' ' Text.Whitespace
40 '=>' Keyword.Declaration
41 ' ' Text.Whitespace
42 'of' Text
43 ' ' Text.Whitespace
44 '(' Punctuation
45 'F' Name.Variable
46 ' ' Text.Whitespace
47 'x' Text
48 ')' Punctuation
49 '.' Operator
50 '\n' Text.Whitespace
51
52 'match' Text
53 ' ' Text.Whitespace
54 '(' Punctuation
55 'uvar' Keyword.Declaration
56 ' ' Text.Whitespace
57 'as' Keyword.Declaration
58 ' ' Text.Whitespace
59 'Y' Name.Variable
60 ')' Punctuation
61 ' ' Text.Whitespace
62 ':-' Keyword.Declaration
63 ' ' Text.Whitespace
64 'print' Text
65 ' ' Text.Whitespace
66 'Y' Name.Variable
67 '.' Operator
68 '\n' Text.Whitespace
69
70 'f' Text
71 ' ' Text.Whitespace
72 ':-' Keyword.Declaration
73 ' ' Text.Whitespace
74 'forall' Text
75 ' ' Text.Whitespace
76 '(' Punctuation
77 '_\\' Name.Variable
78 ' ' Text.Whitespace
79 'true' Text
80 ')' Punctuation
81 ' ' Text.Whitespace
82 '[]' Keyword.Declaration
83 '.' Operator
84 ' \n' Text.Whitespace