-
Notifications
You must be signed in to change notification settings - Fork 5
[KEYWORD] Add logical operators: and / or / not #33
Copy link
Copy link
Open
Labels
P3Low priority: nice to haveLow priority: nice to haveenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerskeyword-mappingNew or changed Maithili keyword / module mappingsNew or changed Maithili keyword / module mappings
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
P3Low priority: nice to haveLow priority: nice to haveenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerskeyword-mappingNew or changed Maithili keyword / module mappingsNew or changed Maithili keyword / module mappings
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.pywith careful orderingनहि/नहि त/नहि त यदिcollision matrixGood first issue with one genuinely interesting edge case. Propose word choices in a comment first.