forked from hedyorg/hedy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
keywords-fa.lark
51 lines (51 loc) · 1.78 KB
/
keywords-fa.lark
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
_DEFINE: ("define" | "define") _SPACE?
_CALL: ("call" | "call") _SPACE?
_WITH: ("with" | "with") _SPACE?
_DEF: ("def" | "def") _SPACE?
_RETURN: ("return" | "return") _SPACE?
_PRINT: ("چاپ" | "print") _SPACE?
_ASK: ("بپرس" | "ask") _SPACE?
_ECHO: ("echo" | "echo") _SPACE?
_FORWARD: ("به جلو" | "forward") _SPACE?
_TURN: ("دور بزن" | "turn") _SPACE?
left: ("چپ" | "left") _SPACE?
right: ("راست" | "right") _SPACE?
black: ("سیاه" | "black") _SPACE?
blue: ("آبی" | "blue") _SPACE?
brown: ("قهوه ای" | "brown") _SPACE?
gray: ("خاکستری" | "gray") _SPACE?
green: ("سبز" | "green") _SPACE?
orange: ("نارنجی" | "orange") _SPACE?
pink: ("صورتی" | "pink") _SPACE?
purple: ("بنفش" | "purple") _SPACE?
red: ("قرمز" | "red") _SPACE?
white: ("سفید" | "white") _SPACE?
yellow: ("زرد" | "yellow") _SPACE?
_IS: _SPACE ("is" | "is") _SPACE
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE ("to" | "to") _SPACE
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE ("from" | "from") _SPACE
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
_NOT_IN: _SPACE ("not in" | "not in") _SPACE
_IF: ("if" | "if") _SPACE
_ELSE: "else" | "else"
_AND: _SPACE ("and" | "and") _SPACE
_REPEAT: ("repeat" | "repeat") _SPACE
_TIMES: _SPACE ("times" | "times")
_FOR: ("for" | "for") _SPACE
_RANGE: ("range" | "range") _SPACE?
_TO: _SPACE ("to" | "to") _SPACE
_STEP: "step" | "step"
_ELIF: _SPACE? ("elif" | "elif") _SPACE
_INPUT: ("input" | "input")
_OR: _SPACE ("or" | "or") _SPACE
_WHILE: ("while" | "while") _SPACE
_LENGTH: "length" | "length"
_COLOR : ("رنگ" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
clear: ("clear" | "clear") _SPACE?