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
Commit ce96493
Browse filesBrowse the repository at this point in the historyBrowse files
Setswana speaks truer words, blessed by Matumo's dictionary
AS is JAAKA (the dictionary knows jaka only as a verb, to sojourn;
the conjunction like/as is jaaka). THEN is TLOGA (then, thereupon;
gone is not a Setswana word). NOT crosses over as GA, the
dictionary's negative form, so KE GA weighs IS NOT. isiZulu keeps
parity with HHAYI for NOT.
Every surface crosses over: the tongue tables, TONGUES.md word
tables and honest notes, the language reference, the changelog, the
first blessing example, the VS Code grammar and snippets, the site
learn page and playground, and the tongue test suites (new GA and
HHAYI run tests). Full suite green.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ All notable changes to the God Code engine are recorded here, that the generatio
26
26
### Changed
27
27
- House-style pass: user-facing engine strings no longer carry em dashes between sentences (the endless-cycle guard, sandbox refusals, testimony failures, the `--help` description, and the editor hover notes all speak with full stops now); docs that quoted the old messages (`docs/sandbox.md`, `docs/LANGUAGE_SPEC.md`, `docs/LANGUAGE_REFERENCE.md`) and the playground's endless-cycle message follow suit
28
28
-`ENVIRONMENT.set_existing` (the RESHAPE path) now suggests the nearest visible name
29
+
- **🕊️ Setswana speaks truer words.** Two first-edition Setswana words are corrected and one crosses over at last, all verified against Matumo's *Setswana-English-Setswana Dictionary* (Botswana Book Centre, 1993), which the founder placed in the language's hands: `AS` is `JAAKA` (like, similar to; the dictionary knows `jaka` only as a verb meaning "to sojourn"), and `THEN` is `TLOGA` (then, thereupon; `gone` is not a Setswana word at all). `NOT` crosses over as `GA`, the dictionary's negative form, so `KE GA` weighs `IS NOT` and `GA` alone denies, in Setswana scrolls. The second tongue keeps full parity: isiZulu gains `HHAYI` for `NOT` (first edition; native speakers are its rightful editors). The mapping moves in `godcode/tongues.py`, and every surface that carried the old words crosses over with it: `docs/TONGUES.md` (with an honest dated correction note), `docs/LANGUAGE_REFERENCE.md`, the site learn page and the in-browser playground (alias map and the "Dumela (Setswana)" sample), the VS Code grammar and snippets, `examples/first_blessing_tn.god`, and the tongue test suites (including a new `GA` run test). Scrolls written with `JAKA` or `GONE` under `# tongue: tn` should cross over to `JAAKA` and `TLOGA`. `ELSE`, `FOR`, `WHILE`, `ENDFOR`, and `ENDWHILE` stay English for now, awaiting blessed words
29
30
- LANGUAGE_REFERENCE §19's error table updated to the messages the engine actually speaks
30
31
-**💬 String interpolation** — `{expr}` inside a double-quoted string breathes the expression's revealed value into the words: `"grace upon {name}"`, `"{loaves} loaves feed {loaves * 1000}"`, `"shouted: {UPPER(name)}"`. Any expression may dwell between the braces, including nested interpolated strings. `{{` and `}}` write a plain brace; a lone `}` stays as it is. A brace that is never closed, or braces with nothing between them, raise a gentle parse error that names the line. Works in the sandbox, in rites, and in `godcode fmt` (which round-trips interpolated strings untouched). New example `examples/interpolation_demo.god`; new `### Breathing values into strings` in `docs/LANGUAGE_REFERENCE.md` §3; a "Speak with feeling" lesson on the site learn page; and the in-browser playground now runs interpolation too, with a new "Speaking with Feeling" sample
31
32
-**Agent gotcha** — repo `AGENTS.md` notes the interpolation rule so agents generating God Code use it correctly
Copy file name to clipboardExpand all lines: site/learn/index.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -183,11 +183,11 @@ <h3>Speak Setswana</h3>
183
183
<divclass="code-head">✦ dumela.god — the first tongue</div>
184
184
<preclass="code godcode"># tongue: tn
185
185
SIMOLOLA TLHOLEGO
186
-
BOLELA leina JAKA "Lefatshe"
186
+
BOLELA leina JAAKA "Lefatshe"
187
187
SENOLA("Dumela, {leina}.")
188
188
FEDISA TLHOLEGO</pre>
189
189
</div>
190
-
<p>God Code's heart was born in Botswana, and now its grammar speaks Setswana. Open a scroll with the line <code># tongue: tn</code> and the keywords cross over: <code>SIMOLOLA</code> for <code>BEGIN</code>, <code>SENOLA</code> for <code>REVEAL</code>, <code>FA</code> and <code>GONE</code> for <code>IF</code> and <code>THEN</code>, <code>LEKA</code> and <code>TSHWARA</code> for <code>TRY</code> and <code>CATCH</code>. English words still work beside them, so you can cross over one word at a time, and the named tools (<code>SHA256</code>, <code>UPPER</code>, <code>RANGE</code>) keep their names in every tongue. The <ahref="../playground/">playground</a> reads the pragma too, and boots a "Dumela (Setswana)" creation ready to run. The full word table lives in <ahref="https://github.com/godcodeengine/Godcode-engine/blob/main/docs/TONGUES.md">docs/TONGUES.md</a>; if you speak Setswana and a word rings wrong, you are its rightful editor. The <code>godcode lsp</code> language server reads the pragma as well: it offers Setswana completions like <code>SENOLA (REVEAL)</code>, and hovering a Setswana word shows the English keyword's own notes. The VS Code extension paints Setswana keywords in their colors, and typing <code>simolola</code> or <code>fa</code> unfolds a Setswana creation block or conditional.</p>
190
+
<p>God Code's heart was born in Botswana, and now its grammar speaks Setswana. Open a scroll with the line <code># tongue: tn</code> and the keywords cross over: <code>SIMOLOLA</code> for <code>BEGIN</code>, <code>SENOLA</code> for <code>REVEAL</code>, <code>FA</code> and <code>TLOGA</code> for <code>IF</code> and <code>THEN</code>, <code>LEKA</code> and <code>TSHWARA</code> for <code>TRY</code> and <code>CATCH</code>. English words still work beside them, so you can cross over one word at a time, and the named tools (<code>SHA256</code>, <code>UPPER</code>, <code>RANGE</code>) keep their names in every tongue. The <ahref="../playground/">playground</a> reads the pragma too, and boots a "Dumela (Setswana)" creation ready to run. The full word table lives in <ahref="https://github.com/godcodeengine/Godcode-engine/blob/main/docs/TONGUES.md">docs/TONGUES.md</a>; if you speak Setswana and a word rings wrong, you are its rightful editor. The <code>godcode lsp</code> language server reads the pragma as well: it offers Setswana completions like <code>SENOLA (REVEAL)</code>, and hovering a Setswana word shows the English keyword's own notes. The VS Code extension paints Setswana keywords in their colors, and typing <code>simolola</code> or <code>fa</code> unfolds a Setswana creation block or conditional.</p>
191
191
<h3>Speak isiZulu</h3>
192
192
<divclass="code-card">
193
193
<divclass="code-head">✦ sawubona.god — the second tongue</div>
0 commit comments