PANINI

Gurmukhi localization has to survive gcc -E, gdb, and nm

gurmukhi_demo.c is not done. #define je if evaporates before the compiler. The 2004 bar is HindiC.uhin.

Axes (do not collapse)

What HindiC.uhin does that macros cannot

<शैली गुरु>          dialect
#समावेश <मानकपन.स>    header name + native extension
पूर्णांक मुख्य()
    अक्षर अ[८०];         native identifier + native numerals
    म_लिखो / क्रम / वापस  library and keywords at the lexer

Punjabi analogue (lexer, bidirectional)

<ਸ਼ੈਲੀ ਗੁਰੂ>
ਪੂਰਨਅੰਕ ਮੁੱਖ() {
  ਅੱਖਰ ਅ[੮੦];
  ਲਈ (ਕ=੧; ਕ<=੧੦; ਕ++) ;
  ਜੇ (ਕ) ਵਾਪਸ ੦;
}

Keywords map from the TSV at tokenisation. Native digits ੮੦ → 80. Identifiers keep a bijection ਅ↔channel so nm and diagnostics can be rewritten. Inverse exists. No #define.

UNRESOLVED (retrieved tables have no KW_MAIN / printf): ਮੁੱਖ is an identifier on the channel, not an invented main. Library mapping is still thinner than 2004 Hindi म_लिखो.

Claude note, filed · CLI node src/cli.js pa2c · node src/cli.js transducer