Skip to content

Commit

Permalink
🪲 Improve error message for missing list in add-to and remove-from co…
Browse files Browse the repository at this point in the history
…mmands (#5872)

This PR adds a specific error message when the user forgot to add a list at the end of the add-to and remove-from commands. Previously, we displayed a generic error that something is off with the line:
_We detected that Add is being used on line 3 which is not allowed. Can you try looking for a missing or an extra character on your code?_

Now we changed it to: _We detected that part of the code seems to be missing from the Add on line 3. Can you try adding the what's missing_

Fixes #5871

**How to test**
Go to level 3 and execute the following commands:
```
houses is Gryffindor, Hufflepuf, Ravenclaw, Slytherin
dislike is Slytherin
remove dislike from
```
and
```
houses is Gryffindor, Hufflepuf, Ravenclaw, Slytherin
dislike is Slytherin
remove dislike
```
Check that you agree with the error messages.
  • Loading branch information
boryanagoncharenko authored Oct 24, 2024
1 parent e6c8184 commit 30fa5f8
Show file tree
Hide file tree
Showing 125 changed files with 282 additions and 245 deletions.
4 changes: 2 additions & 2 deletions grammars/keywords-ar.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("هو" | "هي" | "is") _SPACE
_STANDALONE_IS: ("هو" | "هي" | "is")
_SLEEP: ( "ـ"* "ا" "ـ"* "ن" "ـ"* "ت" "ـ"* "ظ" "ـ"* "ر" "ـ"* | "sleep") _SPACE?
_ADD_LIST: ( "ـ"* "ا" "ـ"* "ض" "ـ"* "ف" "ـ"* | "add") _SPACE
_TO_LIST: _SPACE? ( "ـ"* "ا" "ـ"* "ل" "ـ"* "ى" "ـ"* | "to") _SPACE
_TO_LIST: _SPACE? ( "ـ"* "ا" "ـ"* "ل" "ـ"* "ى" "ـ"* | "to")
_REMOVE: ( "ـ"* "ا" "ـ"* "ز" "ـ"* "ل" "ـ"* | "remove") _SPACE
_FROM: _SPACE? ( "ـ"* "م" "ـ"* "ن" "ـ"* | "from") _SPACE
_FROM: _SPACE? ( "ـ"* "م" "ـ"* "ن" "ـ"* | "from")
_AT: _SPACE ( "ـ"* "ب" "ـ"* "ش" "ـ"* "ك" "ـ"* "ل" "ـ"* | "at") _SPACE
random: ( "ـ"* "ع" "ـ"* "ش" "ـ"* "و" "ـ"* "ا" "ـ"* "ئ" "ـ"* "ي" "ـ"* | "random") _SPACE?
_IN: _SPACE ( "ـ"* "ف" "ـ"* "ي" "ـ"* | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-bg.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("е" | "is") _SPACE
_STANDALONE_IS: ("е" | "is")
_SLEEP: ("спи" | "sleep") _SPACE?
_ADD_LIST: ("добави" | "add") _SPACE
_TO_LIST: _SPACE? ("до" | "to") _SPACE
_TO_LIST: _SPACE? ("до" | "to")
_REMOVE: ("премахни" | "remove") _SPACE
_FROM: _SPACE? ("от" | "from") _SPACE
_FROM: _SPACE? ("от" | "from")
_AT: _SPACE ("в" | "at") _SPACE
random: ("произволно" | "random") _SPACE?
_IN: _SPACE ("в" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-bn.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-ca.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("és" | "is") _SPACE
_STANDALONE_IS: ("és" | "is")
_SLEEP: ("dorm" | "sleep") _SPACE?
_ADD_LIST: ("afegeix" | "add") _SPACE
_TO_LIST: _SPACE? ("a" | "to") _SPACE
_TO_LIST: _SPACE? ("a" | "to")
_REMOVE: ("esborra" | "remove") _SPACE
_FROM: _SPACE? ("de" | "from") _SPACE
_FROM: _SPACE? ("de" | "from")
_AT: _SPACE ("a" | "at") _SPACE
random: ("aleatori" | "random") _SPACE?
_IN: _SPACE ("dins" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-cs.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-cy.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("yw" | "is") _SPACE
_STANDALONE_IS: ("yw" | "is")
_SLEEP: ("cysgu" | "sleep") _SPACE?
_ADD_LIST: ("adio" | "add") _SPACE
_TO_LIST: _SPACE? ("i" | "to") _SPACE
_TO_LIST: _SPACE? ("i" | "to")
_REMOVE: ("dileu" | "remove") _SPACE
_FROM: _SPACE? ("o" | "from") _SPACE
_FROM: _SPACE? ("o" | "from")
_AT: _SPACE ("ar" | "at") _SPACE
random: ("hap" | "random") _SPACE?
_IN: _SPACE ("mewn" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-da.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("tilføj" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("ved" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-de.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("ist" | "is") _SPACE
_STANDALONE_IS: ("ist" | "is")
_SLEEP: ("schlafe" | "sleep") _SPACE?
_ADD_LIST: ("addiere" | "add") _SPACE
_TO_LIST: _SPACE? ("zu" | "to") _SPACE
_TO_LIST: _SPACE? ("zu" | "to")
_REMOVE: ("entferne" | "remove") _SPACE
_FROM: _SPACE? ("aus" | "from") _SPACE
_FROM: _SPACE? ("aus" | "from")
_AT: _SPACE ("an" | "at") _SPACE
random: ("zufällig" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-el.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-en.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-eo.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("estas" | "is") _SPACE
_STANDALONE_IS: ("estas" | "is")
_SLEEP: ("dormu" | "sleep") _SPACE?
_ADD_LIST: ("aldonu" | "add") _SPACE
_TO_LIST: _SPACE? ("al" | "to") _SPACE
_TO_LIST: _SPACE? ("al" | "to")
_REMOVE: ("forigu" | "remove") _SPACE
_FROM: _SPACE? ("el" | "from") _SPACE
_FROM: _SPACE? ("el" | "from")
_AT: _SPACE ("laŭ" | "lau" | "laux" | "at") _SPACE
random: ("hazardo" | "random") _SPACE?
_IN: _SPACE ("en" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-es.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("es" | "is") _SPACE
_STANDALONE_IS: ("es" | "is")
_SLEEP: ("dormir" | "sleep") _SPACE?
_ADD_LIST: ("añadir" | "add") _SPACE
_TO_LIST: _SPACE? ("a" | "to") _SPACE
_TO_LIST: _SPACE? ("a" | "to")
_REMOVE: ("borrar" | "remove") _SPACE
_FROM: _SPACE? ("de" | "from") _SPACE
_FROM: _SPACE? ("de" | "from")
_AT: _SPACE ("en" | "at") _SPACE
random: ("aleatorio" | "random") _SPACE?
_IN: _SPACE ("en" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-et.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("on" | "is") _SPACE
_STANDALONE_IS: ("on" | "is")
_SLEEP: ("oota" | "sleep") _SPACE?
_ADD_LIST: ("lisa" | "add") _SPACE
_TO_LIST: _SPACE? ("nimistusse" | "to") _SPACE
_TO_LIST: _SPACE? ("nimistusse" | "to")
_REMOVE: ("kustuta" | "remove") _SPACE
_FROM: _SPACE? ("nimistust" | "from") _SPACE
_FROM: _SPACE? ("nimistust" | "from")
_AT: _SPACE ("täitsa" | "at") _SPACE
random: ("juhuslikult" | "random") _SPACE?
_IN: _SPACE ("nimistus" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-fa.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-fi.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("on" | "is") _SPACE
_STANDALONE_IS: ("on" | "is")
_SLEEP: ("nuku" | "sleep") _SPACE?
_ADD_LIST: ("lisää" | "add") _SPACE
_TO_LIST: _SPACE? ("listaksi" | "to") _SPACE
_TO_LIST: _SPACE? ("listaksi" | "to")
_REMOVE: ("poista" | "remove") _SPACE
_FROM: _SPACE? ("listasta" | "from") _SPACE
_FROM: _SPACE? ("listasta" | "from")
_AT: _SPACE ("ota" | "at") _SPACE
random: ("satunnainen" | "random") _SPACE?
_IN: _SPACE ("listassa" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-fr.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("est" | "is") _SPACE
_STANDALONE_IS: ("est" | "is")
_SLEEP: ("dors" | "sleep") _SPACE?
_ADD_LIST: ("ajoute" | "add") _SPACE
_TO_LIST: _SPACE? ("à" | "to") _SPACE
_TO_LIST: _SPACE? ("à" | "to")
_REMOVE: ("supprime" | "remove") _SPACE
_FROM: _SPACE? ("de" | "from") _SPACE
_FROM: _SPACE? ("de" | "from")
_AT: _SPACE ("au" | "at") _SPACE
random: ("hasard" | "random") _SPACE?
_IN: _SPACE ("dans" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-fr_CA.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("est" | "is") _SPACE
_STANDALONE_IS: ("est" | "is")
_SLEEP: ("dors" | "sleep") _SPACE?
_ADD_LIST: ("ajoute" | "add") _SPACE
_TO_LIST: _SPACE? ("à" | "to") _SPACE
_TO_LIST: _SPACE? ("à" | "to")
_REMOVE: ("supprime" | "remove") _SPACE
_FROM: _SPACE? ("de" | "from") _SPACE
_FROM: _SPACE? ("de" | "from")
_AT: _SPACE ("au" | "at") _SPACE
random: ("hasard" | "random") _SPACE?
_IN: _SPACE ("dans" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-fy.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-he.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("הוא" | "is") _SPACE
_STANDALONE_IS: ("הוא" | "is")
_SLEEP: ("המתן" | "sleep") _SPACE?
_ADD_LIST: ("הוסף" | "add") _SPACE
_TO_LIST: _SPACE? ("אל" | "to") _SPACE
_TO_LIST: _SPACE? ("אל" | "to")
_REMOVE: ("הסר" | "remove") _SPACE
_FROM: _SPACE? ("מ" | "from") _SPACE
_FROM: _SPACE? ("מ" | "from")
_AT: _SPACE ("ב" | "at") _SPACE
random: ("אקראי" | "random") _SPACE?
_IN: _SPACE ("בתוך" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-hi.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("है" | "is") _SPACE
_STANDALONE_IS: ("है" | "is")
_SLEEP: ("नींद" | "sleep") _SPACE?
_ADD_LIST: ("जोड़ना" | "add") _SPACE
_TO_LIST: _SPACE? ("से" | "to") _SPACE
_TO_LIST: _SPACE? ("से" | "to")
_REMOVE: ("हटाना" | "remove") _SPACE
_FROM: _SPACE? ("से" | "from") _SPACE
_FROM: _SPACE? ("से" | "from")
_AT: _SPACE ("पर" | "at") _SPACE
random: ("अनियमित" | "random") _SPACE?
_IN: _SPACE ("में" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-hr.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-hu.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("egyenlő" | "is") _SPACE
_STANDALONE_IS: ("egyenlő" | "is")
_SLEEP: ("szundi" | "sleep") _SPACE?
_ADD_LIST: ("beszúr" | "add") _SPACE
_TO_LIST: _SPACE? ("ebbe" | "to") _SPACE
_TO_LIST: _SPACE? ("ebbe" | "to")
_REMOVE: ("kivesz" | "remove") _SPACE
_FROM: _SPACE? ("ebből" | "from") _SPACE
_FROM: _SPACE? ("ebből" | "from")
_AT: _SPACE ("listából" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("eleme" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-ia.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("es" | "is") _SPACE
_STANDALONE_IS: ("es" | "is")
_SLEEP: ("dormir" | "sleep") _SPACE?
_ADD_LIST: ("adde" | "add") _SPACE
_TO_LIST: _SPACE? ("a" | "to") _SPACE
_TO_LIST: _SPACE? ("a" | "to")
_REMOVE: ("removere" | "remove") _SPACE
_FROM: _SPACE? ("de" | "from") _SPACE
_FROM: _SPACE? ("de" | "from")
_AT: _SPACE ("a" | "at") _SPACE
random: ("aleatori" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-iba.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-id.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("adalah" | "is") _SPACE
_STANDALONE_IS: ("adalah" | "is")
_SLEEP: ("tidur" | "sleep") _SPACE?
_ADD_LIST: ("tambah" | "add") _SPACE
_TO_LIST: _SPACE? ("ke" | "to") _SPACE
_TO_LIST: _SPACE? ("ke" | "to")
_REMOVE: ("hapus" | "remove") _SPACE
_FROM: _SPACE? ("dari" | "from") _SPACE
_FROM: _SPACE? ("dari" | "from")
_AT: _SPACE ("secara" | "at") _SPACE
random: ("acak" | "random") _SPACE?
_IN: _SPACE ("dalam" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-it.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("dormi" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("rimuovi" | "remove") _SPACE
_FROM: _SPACE? ("da" | "from") _SPACE
_FROM: _SPACE? ("da" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("a caso" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-ja.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("やすめ" | "sleep") _SPACE?
_ADD_LIST: ("たす" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-kmr.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-ko.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-mi.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-ms.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("tambah" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-nb_NO.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("er" | "is") _SPACE
_STANDALONE_IS: ("er" | "is")
_SLEEP: ("sov" | "sleep") _SPACE?
_ADD_LIST: ("legg" | "add") _SPACE
_TO_LIST: _SPACE? ("til" | "to") _SPACE
_TO_LIST: _SPACE? ("til" | "to")
_REMOVE: ("fjern" | "remove") _SPACE
_FROM: _SPACE? ("fra" | "from") _SPACE
_FROM: _SPACE? ("fra" | "from")
_AT: _SPACE ("" | "at") _SPACE
random: ("tilfeldig" | "random") _SPACE?
_IN: _SPACE ("i" | "in") _SPACE
Expand Down
4 changes: 2 additions & 2 deletions grammars/keywords-ne.lark
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ _IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
Expand Down
Loading

0 comments on commit 30fa5f8

Please sign in to comment.