GF AI Codex: Markdown reference to help LLMs generate correct GF/RGL code

2 views
Skip to first unread message

Réjean McCormick

unread,
Feb 25, 2026, 4:00:29 PMFeb 25
to gf-...@googlegroups.com

Hi all,

I’m sharing a small “instruction book” for AI systems (LLMs) to generate more correct GF/RGL code. It’s not new GF content—mostly existing GF manuals + RGL docs reorganized into an AI-friendly Markdown codex with deterministic lookup and overload-safe signatures.

Distribution:

https://drive.google.com/drive/folders/1Dbjjyf5E7nD2xlLaDdOLjsHutukWPIea?usp=sharing

  • Unzip it first.

What’s inside the ZIP:

  1. GF_Codex_MD_Dump/

    • The AI-facing Markdown codex (stored as a volume-dump: Index.txt + Codex_MD_*.txt volumes).

    • Includes overload-safe constructor pages, type producer/consumer pages, module indexes, examples, and the GF manual/tutorial/shell reference as Markdown.

    • Entry point after reconstruction: Codex_MD/00_ROUTER.md.

  2. GF_RGL_Source_Dump/

    • Snapshot of RGL source code (also a volume-dump: Index.txt + RGL_Source_Code_*.txt volumes).

    • Optional, included for deeper inspection / cross-checking.

  3. GF_Lexicons_Archive/

    • Optional archive of many lexicon *.gf modules (not required to use the codex).

Notes:

  • The codex is stored as a volume-dump for easier sharing. Each dump folder includes 00_START_HERE.instructions.md that explains what the folder contains and how it’s intended to be used for AI-assisted coding.

Goal:
Make it easier for AI systems to pick the right RGL constructors (and the right overload) based on types, instead of guessing.

I can make a demo if you want! You would need to challenge me with a specific language, and I'll bring back the results for you to judge. 

Krasimir Angelov

unread,
Feb 27, 2026, 2:18:03 PMFeb 27
to Grammatical Framework
We are currently targeting Macedonian, Kazakh, Gaelic and Albanian. It would be interesting to see what you will get for Albanian.

--

---
You received this message because you are subscribed to the Google Groups "Grammatical Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gf-dev+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gf-dev/CAE50yg3UsWBKGxCF2Ges4NJyBRKBNB_BZVnbogkqwu%2Bkv_saOQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages