[KEYWORD] Add exception handling: प्रयास/अपवाद/अंततः → try/except/finally
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
Rechercherichtung
Keyword mappings live in maithili_dsl/transpiler/transpile.py; read how existing keywords are mapped and how word boundaries are handled first, since the issue warns that नव (__init__) once collided. Add प्रयास, अपवाद and अंततः mappings, then add cases to tests/test_transpile.py and an example in examples/. Done when try/except/finally round-trip correctly and no existing mapping changes, with the README keyword table updated.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
No exception-handling keywords are mapped — users cannot write try/except in Maithili, even though runtime errors are already translated to Maithili by the linter.
Proposal: प्रयास → try, अपवाद → except, अंततः → finally (and consider उठाउ → raise).
Steps:
- Add mappings in
maithili_dsl/transpiler/transpile.py - Tests in
tests/test_transpile.py+ an end-to-end example inexamples/ - Update the README keyword table
Multi-word interaction note: check these don't collide with existing mappings the way नव (__init__) once did — word-boundary tests required.
From BACKLOG.md item 17.
- 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
-
ライブラリを追加Offenpriority middle
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
KATO-Hiro/AtCoderClans#13015 ·
Maintainer antworten meist innerhalb von 1 Tag
-
StringLiteral to IntegerType/LongType silently truncates fractional strings, changing predicate meaningEvtl. vergeben @Shahzeb-DataEngineer hat das heute übernommen. Offenkind:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
apache/iceberg-python#4382 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
request-theme
Schwierigkeit 2/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
LizardByte/ThemerrDB#10024 · 2 Kommentare ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
btclib-org/btclib-node#2505 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
open-webui/open-webui#34462 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag