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:
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.
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.
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.
--
---
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.