forked from hedyorg/hedy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeywords-ru.lark
54 lines (54 loc) · 2.18 KB
/
keywords-ru.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
52
53
54
_DEFINE: ("определить" | "define") _SPACE?
_CALL: ("вызвать" | "call") _SPACE?
_WITH: ("с" | "with") _SPACE?
_DEF: ("def" | "def") _SPACE?
_RETURN: ("вернуть" | "return") _SPACE?
_PRINT: ("печатать" | "print") _SPACE?
_PLAY: ("play" | "play") _SPACE
_ASK: ("спросить" | "ask")
_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") _SPACE
_STANDALONE_IS: ("это" | "is")
_SLEEP: ("заснуть" | "sleep") _SPACE?
_ADD_LIST: ("добавить" | "add") _SPACE
_TO_LIST: _SPACE? ("в" | "to")
_REMOVE: ("удалить" | "remove") _SPACE
_FROM: _SPACE? ("из" | "from")
_AT: _SPACE ("в" | "at") _SPACE
random: ("случайном" | "random") _SPACE?
_IN: _SPACE ("в" | "in") _SPACE
_NOT_IN: _SPACE ("не в" | "not in") _SPACE
_IF: ("если" | "if") _SPACE
_ELSE: "иначе" | "else"
_AND: _SPACE? ("и" | "and") _SPACE
_REPEAT: ("повторить" | "repeat") _SPACE
_TIMES: _SPACE ("раз" | "times")
_FOR: ("для" | "for") _SPACE
_RANGE: ("диапазон" | "range") _SPACE?
_TO: _SPACE ("до" | "to") _SPACE
_STEP: "шаг" | "step"
_ELIF: _SPACE? ("иначе, если" | "elif") _SPACE
_INPUT: ("ввод" | "input")
_OR: _SPACE? ("или" | "or") _SPACE
_WHILE: ("пока" | "while") _SPACE
_LENGTH: "длина" | "length"
_COLOR : ("цвет" | "color") _SPACE?
_PRESSED: ("нажмите" | "pressed") _SPACE?
clear: ("очистить" | "clear") _SPACE?
TRUE: ("истина" | "Истина" | "true" | "True") _SPACE?
FALSE: ("ложь" | "Ложь" | "false" | "False") _SPACE?