[KEYWORD] Add exception handling: प्रयास/अपवाद/अंततः → try/except/finally

Đang mở
#9 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement good first issue keyword-mapping P3

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:

  1. Add mappings in maithili_dsl/transpiler/transpile.py
  2. Tests in tests/test_transpile.py + an end-to-end example in examples/
  3. 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.

Ngôn ngữ chính
Python
Star
1
Fork
4
Merge trung bình
12 ngày 21 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của alphacrack/python-maithili-dsl

Tất cả issue của alphacrack/python-maithili-dsl

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.