Skip to content

[KEYWORD] Add break / continue / pass mappings #32

Description

@alphacrack

DEVNAGIRI_KEYWORD_MAP has no mappings for break, continue, or pass — loops cannot be exited early and empty blocks cannot be written.

Suggested starting points (native speakers, please improve!):

  • रोकूbreak
  • आगू बढूcontinue (multi-word: must be ordered before any single-word prefix entries)
  • छोड़ूpass

Steps:

  1. Add mappings in maithili_dsl/transpiler/mappings.py
  2. Word-boundary + string-literal regression tests in tests/test_transpile.py
  3. Update the README keyword table and add/extend an example in examples/
  4. If the linter's structure whitelist (linter.py:38) needs the new words on :-lines, update it too

Depends on nothing; pairs nicely with जबतक/while (#8).

Good first issue — mostly data + tests. Please propose word choices in a comment before opening the PR so speakers can weigh in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority: nice to haveenhancementNew feature or requestgood first issueGood for newcomerskeyword-mappingNew or changed Maithili keyword / module mappings

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions