[KEYWORD] Add exception handling: प्रयास/अपवाद/अंततः → try/except/finally
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- 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