-
Notifications
You must be signed in to change notification settings - Fork 1
/
BuiltinGrammar.txt
53 lines (53 loc) · 1.12 KB
/
BuiltinGrammar.txt
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
EXP ::= 0
EXP ::= 1
EXP ::= 2
EXP ::= -1
EXP ::= 'a'
EXP ::= 1.0
EXP ::= x
EXP ::= y
EXP ::= z
EXP ::= EXP1
EXP ::= - EXP1
EXP ::= not EXP1
EXP ::= ~ EXP1
EXP ::= EXP1 EXP2
EXP ::= EXP1 - EXP2
EXP ::= EXP1 * EXP2
EXP ::= EXP1 / EXP2
EXP ::= EXP1 // EXP2
EXP ::= EXP1 % EXP2
EXP ::= EXP1 ** EXP2
EXP ::= EXP1 << EXP2
EXP ::= EXP1 >> EXP2
EXP ::= EXP1 | EXP2
EXP ::= EXP1 ^ EXP2
EXP ::= EXP1 & EXP2
EXP ::= EXP1 @ EXP2
EXP ::= EXP1 and EXP2
EXP ::= EXP1 and EXP2 and EXP3
EXP ::= EXP1 and EXP2 and EXP3 and EXP4
EXP ::= EXP1 and EXP2 and EXP3 and EXP4 and EXP5
EXP ::= EXP1 or EXP2
EXP ::= EXP1 or EXP2 or EXP3
EXP ::= EXP1 or EXP2 or EXP3 or EXP4
EXP ::= EXP1 or EXP2 or EXP3 or EXP4 or EXP5
EXP ::= [EXP1]
EXP ::= [EXP1, EXP2]
EXP ::= [EXP1, EXP2, EXP3]
EXP ::= [EXP1, EXP2, EXP3, EXP4]
EXP ::= [EXP1, EXP2, EXP3, EXP4, EXP5]
EXP ::= EXP1[EXP2]
EXP ::= EXP1[EXP2:EXP3:EXP4]
EXP ::= len(EXP1)
EXP ::= EXP1 .index(EXP2)
EXP ::= sorted(EXP1)
EXP ::= list(reversed(EXP1))
EXP ::= EXP1.count(EXP2)
EXP ::= EXP1.join(EXP2)
EXP ::= EXP1.capitalize()
EXP ::= EXP1.casefold()
EXP ::= EXP1.lower()
EXP ::= EXP1.title()
EXP ::= EXP1.upper()
EXP ::= abs(EXP1)