compiler: text keys (phase 26.2) - k"pause.resume" / kn"catch.count" of the builtin type Key (not a string, and no string one; == compares), its run-time value the key after a marker byte (1, or 2 for a plural); package.ludic's lang "assets/lang" en and a gettext .po reader; every key literal checked against en.po (a kn"" one wants a msgid_plural), trf / trn and a template's t('key', ...) against the English's holes, a component's template words and a @Text row's English as "English left" (warnings, english_left in ludic deps), a @Text Key field a compiled row leaves out filled with its derived key <registry>.<row>.<field> (or @TextKey's prefix; maps.<map>.<table>.<row>.<field> for a @PerMap row, checked), one English under several undescribed keys warned at en.po's line; the schema's "lang" (keys and their sites, unused, undescribed, split, and every other language's missing / fuzzy / extra); k"" in .lres data, @PerMap rows included (lres_key); ludic-fmt keeps a key literal whole; reseeded, bootstrap-cfree fixpoint holds
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
82c652ca31
commit
cc1ea0f4ae
28 changed files with 139268 additions and 109746 deletions
|
|
@ -60,6 +60,7 @@ function ck_ty_args(s: pointer, tps: pointer) -> pointer {
|
|||
function ck_ty_known(name: pointer, tps: pointer) -> bool {
|
||||
if ck_tab_get(ck_ty_k, ck_ty_v, name) != null { return true }
|
||||
if (name == "Vector") or (name == "IVec2") or (name == "Rect") { return true } # the packed value types
|
||||
if (name == "Key") { return true } # k"..." (i18n.ludic)
|
||||
if is_state_ty(name) or ck_record(name) != null or ck_enum(name) != null { return true }
|
||||
if gen_template(g_gen_recs, name) != null { return true }
|
||||
if tps != null {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue