[KEYWORD] Add logical operators: and / or / not
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 50/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- python
调研方向
Start in mappings.py and read DEVNAGIRI_KEYWORD_MAP to see how the existing नहि त (else) and नहि त यदि (elif) phrases are ordered before any bare नहि entry. Propose word choices for and, or and not in a comment first, then add the mappings with the longer phrases placed first. Done means each operator works alone and in compound conditions, the नहि / नहि त / नहि त यदि collision tests pass, and the README keyword table includes the new words.
由索引模型根据 Issue 内容生成。
描述
There are no mappings for the logical operators and, or, not — conditions must be written with nested यदि blocks.
Suggested starting points (native speakers, please improve!):
आ→andवा→ornotis the tricky one: the obvious wordनहिis already part ofनहि त(else) andनहि त यदि(elif) — a bareनहिmapping must be ordered after those longer phrases inDEVNAGIRI_KEYWORD_MAP, and needs regression tests provingनहि त:still becomeselse:(patterns apply in dict insertion order).
Steps:
- Mappings in
mappings.pywith careful ordering - Tests: each operator alone, combined conditions, and the
नहि/नहि त/नहि त यदिcollision matrix - README keyword table + an example using a compound condition
Good first issue with one genuinely interesting edge case. Propose word choices in a comment first.
- 主要语言
- Python
- 星标
- 1
- 派生
- 4
- 平均合并
- 12 天 21 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
alphacrack/python-maithili-dsl 的其他 Issue
-
help wanted infra P2 testing
难度 2/5 1-3 小时 新手友好度 80/100
-
documentation enhancement good first issue help wanted P3
难度 2/5 1-3 小时 新手友好度 75/100
-
documentation good first issue P3
难度 1/5 1 小时以内 新手友好度 88/100
-
area:linter enhancement good first issue P3 translation
难度 2/5 半天 新手友好度 66/100
-
area:cli enhancement good first issue P3
难度 2/5 1-3 小时 新手友好度 82/100
查看 alphacrack/python-maithili-dsl 的全部 Issue
相似的 Issue
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
JheysonJhordyHuarauyaRiquelme/sprocguard#18 ·
维护者通常 1 天内回复
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 80/100
dlq/synthpopcan#59 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
mdn/translated-content#40220 ·
维护者通常 4 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 84/100
ETSInitiative/PETSIRD#243 ·
维护者通常 1 天内回复
-
deferred p2
难度 2/5 1-3 小时 新手友好度 70/100
cuadrao-ai/argus#2160 ·
维护者通常 1 天内回复