Skip to content

Commit

Permalink
[LANGUAGE] Adds buttons to Hedy (hedyorg#3748)
Browse files Browse the repository at this point in the history
**Description**

Adds a new rule to the grammar to make it possible to define a button, with the syntax:
```python
hello is button
```

Changes the grammar rule ```ifpressed``` so that instead of a keyboard character the name of a button can be used, with the expected outcome.

Changes the front-end HTML templates to add a div containing the user created buttons just below the output screen.

**Fixes**

This PR fixes hedyorg#3678.

Always link the number of the issue or of the discussion that your PR concerns.
Tip, if you use the words fixes before the issue number in this description, the related issue will automatically close then the PR is merged! 

**How to test**

In level 5 run the following Hedy code:
```python
hello is button

if hello is pressed print "Hello world!"
```
A button should appear, and pressing the button should result in the string `Hello world!` appearing in the output and the program terminating.

**Checklist**
Done? Check if you have it all in place using this list:*
  
- [x] Contains one of the PR categories in the name
- [x] Describes changes in the format above
- [x] Links to an existing issue or discussion 
- [x] Has a "How to test" section

If you're unsure about any of these, don't hesitate to ask. We're here to help!
  • Loading branch information
daandj authored Dec 13, 2022
1 parent b6aa2ad commit 370c182
Show file tree
Hide file tree
Showing 85 changed files with 771 additions and 60 deletions.
1 change: 1 addition & 0 deletions content/keywords/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ green: اخضر
orange: برتقالي
pink: زهري
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: червено
white: бяло
yellow: жълто
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/bn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ pink: pink
white: white
yellow: yellow
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: red
white: white
yellow: yellow
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: Rot
white: Weiß
yellow: Gelb
pressed: gedrückt
button: button
not in: nicht in
1 change: 1 addition & 0 deletions content/keywords/el.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: red
white: white
yellow: yellow
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ length: length
comma: ','
quote: "'"
pressed: pressed
button: button
1 change: 1 addition & 0 deletions content/keywords/eo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ length: longo
comma: ','
quote: "'"
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ purple: púrpura
red: rojo
white: blanco
pressed: presionada
button: button
not in: no en
1 change: 1 addition & 0 deletions content/keywords/et.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ elif: muidukui
comma: ','
quote: "'"
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/fa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: قرمز
white: سفید
yellow: زرد
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/fi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ comma: ','
quote: "'"
pressed: painettu
not in: not in
button: button
1 change: 1 addition & 0 deletions content/keywords/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: rouge
white: blanc
yellow: jaune
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/fy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ yellow: yellow
color: color
black: black
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/he.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ elif: אחרתאם
comma: ','
quote: "'"
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/hi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: red
white: white
yellow: yellow
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/hu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ green: zöld
orange: narancs
yellow: sárga
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/id.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: red
white: white
yellow: yellow
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/it.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: rosso
white: bianco
yellow: giallo
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ to: to
0: '0'
comma: ','
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/ko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ length: length
comma: ','
quote: "'"
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/nb_NO.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: red
white: white
yellow: yellow
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/nl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ length: lengte
comma: ','
quote: "'"
pressed: ingedrukt
button: knop
not in: not in
1 change: 1 addition & 0 deletions content/keywords/pa_PK.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ length: لمبائی
comma: '،'
quote: "'"
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/pl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ purple: fioletowy
red: czerwony
white: biały
yellow: żółty
button: button
pressed: naciśnięty
not in: nie w
1 change: 1 addition & 0 deletions content/keywords/pt_BR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ pink: rosa
white: branco
yellow: amarelo
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/pt_PT.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: vermelho
white: branco
yellow: amarelo
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/ru.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: красный
white: белый
yellow: жёлтый
pressed: нажмите
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/sq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ length: gjatësia
comma: ','
quote: "'"
pressed: shtypur
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/sv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ length: längd
comma: ','
quote: "'"
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/sw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ orange: orange
pink: pink
purple: purple
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/th.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ length: ความยาว
comma: ','
quote: "'"
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/tl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ comma: ','
quote: "'"
pressed: pressed
not in: not in
button: button
1 change: 1 addition & 0 deletions content/keywords/tn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ length: length
comma: ','
quote: "'"
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: red
white: white
yellow: yellow
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/uk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ is: це
sleep: почекай
add: додай
pressed: натиснув
button: button
not in: не в
1 change: 1 addition & 0 deletions content/keywords/ur.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ length: length
comma: ','
quote: "'"
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions content/keywords/vi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ comma: ','
quote: "'"
pressed: pressed
not in: not in
button: button
1 change: 1 addition & 0 deletions content/keywords/zh_Hans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ red: 红色
white: 白色
yellow: 黄色
pressed: pressed
button: button
not in: not in
1 change: 1 addition & 0 deletions grammars/keywords-ar.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ( "ـ"* "ب" "ـ"* "ي" "ـ"* "ن" "ـ"* "م" "ـ"* "ا" "ـ"* | "while
_LENGTH: "ـ"* "ط" "ـ"* "و" "ـ"* "ل" "ـ"* | "length"
_COLOR : ( "ـ"* "ل" "ـ"* "و" "ـ"* "ن" "ـ"* | "color") _SPACE?
_PRESSED: ( "ـ"* "p" "ـ"* "r" "ـ"* "e" "ـ"* "s" "ـ"* "s" "ـ"* "e" "ـ"* "d" "ـ"* | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-bg.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("докато" | "while") _SPACE
_LENGTH: "дължина" | "length"
_COLOR : ("цвят" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-de.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("solange" | "while") _SPACE
_LENGTH: "Länge" | "length"
_COLOR : ("Farbe" | "color") _SPACE?
_PRESSED: ("gedrückt" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-en.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("while" | "while") _SPACE
_LENGTH: "length" | "length"
_COLOR : ("color" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-eo.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("dum" | "while") _SPACE
_LENGTH: "longo" | "length"
_COLOR : ("koloro" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-es.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("mientras" | "while") _SPACE
_LENGTH: "longitud" | "length"
_COLOR : ("color" | "color") _SPACE?
_PRESSED: ("presionada" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-et.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("senikui" | "while") _SPACE
_LENGTH: "pikkus" | "length"
_COLOR : ("värv" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-fa.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("while" | "while") _SPACE
_LENGTH: "length" | "length"
_COLOR : ("رنگ" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-fi.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("kun" | "while") _SPACE
_LENGTH: "pituus" | "length"
_COLOR : ("väri" | "color") _SPACE?
_PRESSED: ("painettu" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-fr.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("tant que" | "while") _SPACE
_LENGTH: "longueur" | "length"
_COLOR : ("couleur" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-he.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("כלעוד" | "while") _SPACE
_LENGTH: "אורך" | "length"
_COLOR : ("צבע" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-hi.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("व्हाइल" | "while") _SPACE
_LENGTH: "लंबाई" | "length"
_COLOR : ("color" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-hu.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("amíg" | "while") _SPACE
_LENGTH: "hossz" | "length"
_COLOR : ("szín" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-id.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("selama" | "while") _SPACE
_LENGTH: "panjang" | "length"
_COLOR : ("warna" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-it.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("mentre" | "while") _SPACE
_LENGTH: "lunghezza" | "length"
_COLOR : ("colore" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-ja.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("while" | "while") _SPACE
_LENGTH: "length" | "length"
_COLOR : ("いろ" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-nb_NO.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("mens" | "while") _SPACE
_LENGTH: "lengde" | "length"
_COLOR : ("color" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-nl.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("zolang" | "while") _SPACE
_LENGTH: "lengte" | "length"
_COLOR : ("kleur" | "color") _SPACE?
_PRESSED: ("ingedrukt" | "pressed") _SPACE?
_BUTTON: ("knop" | "button") _SPACE?
4 changes: 3 additions & 1 deletion grammars/keywords-pa_PK.lark
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
_PRINT: ("چپائی" | "print") _SPACE?

_BUTTON: ("button" | "button") _SPACE?_PRINT: ("چپائی" | "print") _SPACE?
_ASK: ("سوال" | "ask") _SPACE?
_ECHO: ("فیر" | "echo") _SPACE?
_FORWARD: ("اگے" | "forward") _SPACE?
Expand Down Expand Up @@ -42,3 +43,4 @@ _WHILE: ("جدکہ" | "while") _SPACE
_LENGTH: "لمبائی" | "length"
_COLOR : ("رنگ" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-pl.lark
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ _OR: _SPACE ("lub" | "or") _SPACE
_WHILE: ("dopóki" | "while") _SPACE
_LENGTH: "długość" | "length"
_COLOR : ("kolor" | "color") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
_PRESSED: ("naciśnięty" | "pressed") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-pt_BR.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("enquanto" | "while") _SPACE
_LENGTH: "comprimento" | "length"
_COLOR : ("cor" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-pt_PT.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("enquanto" | "while") _SPACE
_LENGTH: "comprimento" | "length"
_COLOR : ("cor" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-ru.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("пока" | "while") _SPACE
_LENGTH: "длина" | "length"
_COLOR : ("цвет" | "color") _SPACE?
_PRESSED: ("нажмите" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
4 changes: 3 additions & 1 deletion grammars/keywords-sq.lark
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
_PRINT: ("print" | "print") _SPACE?

_BUTTON: ("button" | "button") _SPACE?_PRINT: ("print" | "print") _SPACE?
_ASK: ("pyet" | "ask") _SPACE?
_ECHO: ("përsërit" | "echo") _SPACE?
_FORWARD: ("përpara" | "forward") _SPACE?
Expand Down Expand Up @@ -42,3 +43,4 @@ _WHILE: ("derisa" | "while") _SPACE
_LENGTH: "gjatësia" | "length"
_COLOR : ("ngjyrë" | "color") _SPACE?
_PRESSED: ("shtypur" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-sv.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("medans" | "while") _SPACE
_LENGTH: "längd" | "length"
_COLOR : ("färg" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-template.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ({while} | "while") _SPACE
_LENGTH: {length} | "length"
_COLOR : ({color} | "color") _SPACE?
_PRESSED: ({pressed} | "pressed") _SPACE?
_BUTTON: ({button} | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-th.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("while" | "while") _SPACE
_LENGTH: "ความยาว" | "length"
_COLOR : ("สี" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-tn.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("while" | "while") _SPACE
_LENGTH: "length" | "length"
_COLOR : ("color" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-tr.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("iken" | "while") _SPACE
_LENGTH: "uzunluk" | "length"
_COLOR : ("color" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
1 change: 1 addition & 0 deletions grammars/keywords-uk.lark
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ _WHILE: ("тоді як" | "while") _SPACE
_LENGTH: "довжина" | "length"
_COLOR : ("колір" | "color") _SPACE?
_PRESSED: ("натиснув" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
Loading

0 comments on commit 370c182

Please sign in to comment.