[KEYWORD] Add break / continue / pass mappings
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 50/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- python
- Bereich
- compilers, localization
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 4
- Ø Merge
- 12 T. 21 Std.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus alphacrack/python-maithili-dsl
-
help wanted infra P2 testing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
-
documentation enhancement good first issue help wanted P3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
documentation good first issue P3
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
-
area:linter enhancement good first issue P3 translation
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 66/100
-
area:cli enhancement good first issue P3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Alle Issues in alphacrack/python-maithili-dsl
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
gorakhargosh/watchdog#1462 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
openwisp/openwisp-monitoring#889 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
OpenFreeEnergy/Lomap#180 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
roman-corgi/corgisim#327 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
agent:WSL bug code-review linux pri:medium sev:low tooling
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag