forked from hedyorg/hedy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
keywords-pt_PT.lark
51 lines (51 loc) · 1.78 KB
/
keywords-pt_PT.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: ("imprimir" | "print") _SPACE?
_ASK: ("perguntar" | "ask") _SPACE?
_ECHO: ("eco" | "echo") _SPACE?
_FORWARD: ("avançar" | "forward") _SPACE?
_TURN: ("virar" | "turn") _SPACE?
left: ("esquerda" | "left") _SPACE?
right: ("direita" | "right") _SPACE?
black: ("preto" | "black") _SPACE?
blue: ("azul" | "blue") _SPACE?
brown: ("castanho" | "brown") _SPACE?
gray: ("cinzento" | "gray") _SPACE?
green: ("verde" | "green") _SPACE?
orange: ("cor de laranja" | "orange") _SPACE?
pink: ("cor de rosa" | "pink") _SPACE?
purple: ("roxo" | "purple") _SPACE?
red: ("vermelho" | "red") _SPACE?
white: ("branco" | "white") _SPACE?
yellow: ("amarelo" | "yellow") _SPACE?
_IS: _SPACE ("is" | "is") _SPACE
_SLEEP: ("dormir" | "sleep") _SPACE?
_ADD_LIST: ("adicionar" | "add") _SPACE
_TO_LIST: _SPACE ("para" | "to") _SPACE
_REMOVE: ("remover" | "remove") _SPACE
_FROM: _SPACE ("de" | "from") _SPACE
_AT: _SPACE ("em" | "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: ("repetir" | "repeat") _SPACE
_TIMES: _SPACE ("vezes" | "times")
_FOR: ("for" | "for") _SPACE
_RANGE: ("intervalo" | "range") _SPACE?
_TO: _SPACE ("to" | "to") _SPACE
_STEP: "passo" | "step"
_ELIF: _SPACE? ("elif" | "elif") _SPACE
_INPUT: ("input" | "input")
_OR: _SPACE ("or" | "or") _SPACE
_WHILE: ("enquanto" | "while") _SPACE
_LENGTH: "comprimento" | "length"
_COLOR : ("cor" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
clear: ("clear" | "clear") _SPACE?