You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tongues: bless Setswana words for ELSE, NOT, FOR, WHILE, ENDFOR and ENDWHILE #2
Welcome, builder. This is a friendly starter task for Hacktoberfest. Comment below to claim it, then open your pull request any time in October. Questions are welcome in our Discord: https://discord.gg/894FEJhWfZ
The task
God Code keywords can be written in Setswana (the tn tongue). Six words still stay in English because we are waiting for speakers to bless better ones: ELSE, NOT, FOR, WHILE, ENDFOR, ENDWHILE. The design note at the top of godcode/tongues.py says exactly this.
Propose Setswana words for some or all of the six, add them to the tongue, and document them.
Where to work
godcode/tongues.py: add your words to the _TN_ALIASES table, following the comment style already there.
docs/TONGUES.md: extend the Setswana word table.
tests/: add tests beside the existing tongue tests, following their pattern.
Rules for the words
A word must not collide with an existing alias, a keyword, or a named tool (SHA256, UPPER and friends keep their names in every tongue).
Keywords are case-insensitive; canonical style is UPPER.
If you are a Setswana speaker, say so in your pull request. Your blessing is the review that matters most here.
Write a small scroll with # tongue: tn that uses your new words in a FA... block and a FOR loop, and confirm it checks clean and runs.
Done looks like
The six words (or the ones you claimed) work in a real scroll, the word table in docs/TONGUES.md lists them, tests pass, and the full suite stays green.
Please read CONTRIBUTING.md and our Code of Conduct before you start. You are welcome here.
Activity