[KEYWORD] Add break / continue / pass mappings
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 50/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- compilers, localization
Direzione di ricerca
Start with DEVNAGIRI_KEYWORD_MAP in maithili_dsl/transpiler/mappings.py to see how existing keywords are keyed and ordered, especially where multi-word entries sit relative to single-word ones. Then read tests/test_transpile.py for the word-boundary and string-literal test pattern, and check the structure whitelist at linter.py:38. Done means the three keywords map correctly, the tests cover word boundaries and string literals, and the README table and an example reflect the new words. Settle the word choices with native speakers in the issue first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
DEVNAGIRI_KEYWORD_MAP has no mappings for break, continue, or pass — loops cannot be exited early and empty blocks cannot be written.
Suggested starting points (native speakers, please improve!):
रोकू→breakआगू बढू→continue(multi-word: must be ordered before any single-word prefix entries)छोड़ू→pass
Steps:
- Add mappings in
maithili_dsl/transpiler/mappings.py - Word-boundary + string-literal regression tests in
tests/test_transpile.py - Update the README keyword table and add/extend an example in
examples/ - If the linter's structure whitelist (
linter.py:38) needs the new words on:-lines, update it too
Depends on nothing; pairs nicely with जबतक/while (#8).
Good first issue — mostly data + tests. Please propose word choices in a comment before opening the PR so speakers can weigh in.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 4
- Merge medio
- 12g 21h
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di alphacrack/python-maithili-dsl
-
help wanted infra P2 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
-
documentation enhancement good first issue help wanted P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
documentation good first issue P3
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
area:linter enhancement good first issue P3 translation
Difficoltà 2/5 Mezza giornata Idoneità per principianti 66/100
-
area:cli enhancement good first issue P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Tutte le issue di alphacrack/python-maithili-dsl
Issue simili
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JheysonJhordyHuarauyaRiquelme/sprocguard#18 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
dlq/synthpopcan#59 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
mdn/translated-content#40220 ·
I maintainer di solito rispondono entro 4 giorni
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ETSInitiative/PETSIRD#243 ·
I maintainer di solito rispondono entro 1 giorno
-
deferred p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
cuadrao-ai/argus#2160 ·
I maintainer di solito rispondono entro 1 giorno