Rename: nlg → elp (Engram Language Protocol)

This commit is contained in:
Will Anderson
2026-05-02 22:15:25 -05:00
parent cbb27b8d87
commit 34725a3988
125 changed files with 129214 additions and 780 deletions
+46 -9
View File
@@ -6,13 +6,16 @@
# import system, the runner concatenates all NLG source modules above each
# test file before handing it to elc.
#
# Module load order:
# morphology.el (standalone)
# vocabulary.el (standalone)
# grammar.el (uses slot helpers)
# realizer.el (uses morphology + grammar)
# nlg.el (public API)
# <test>.el (calls the above)
# Module load order (mirrors manifest.el dependency order):
# language-profile (no deps)
# vocabulary (no deps)
# morphology (depends on: language-profile)
# morphology-XX (depends on: morphology) -- one per language
# grammar (depends on: language-profile)
# realizer (depends on: morphology, grammar, language-profile)
# semantics (depends on: grammar, realizer, language-profile)
# nlg (depends on: semantics, realizer)
# <test>.el (calls the above)
set -uo pipefail
cd "$(dirname "$0")"
@@ -27,10 +30,44 @@ if [ ! -x "${ELC}" ]; then
exit 1
fi
# NLG source modules in dependency order
# NLG source modules in manifest.el dependency order
NLG_MODULES=(
"${SRC_DIR}/morphology.el"
"${SRC_DIR}/language-profile.el"
"${SRC_DIR}/vocabulary.el"
"${SRC_DIR}/morphology.el"
# Living languages
"${SRC_DIR}/morphology-es.el"
"${SRC_DIR}/morphology-fr.el"
"${SRC_DIR}/morphology-de.el"
"${SRC_DIR}/morphology-ru.el"
"${SRC_DIR}/morphology-ja.el"
"${SRC_DIR}/morphology-fi.el"
"${SRC_DIR}/morphology-ar.el"
"${SRC_DIR}/morphology-hi.el"
"${SRC_DIR}/morphology-sw.el"
# Ancient / classical languages (still spoken or liturgical)
"${SRC_DIR}/morphology-la.el"
"${SRC_DIR}/morphology-he.el"
# Dead languages
"${SRC_DIR}/morphology-grc.el"
"${SRC_DIR}/morphology-ang.el"
"${SRC_DIR}/morphology-sa.el"
"${SRC_DIR}/morphology-got.el"
"${SRC_DIR}/morphology-non.el"
"${SRC_DIR}/morphology-enm.el"
"${SRC_DIR}/morphology-pi.el"
"${SRC_DIR}/morphology-fro.el"
"${SRC_DIR}/morphology-goh.el"
"${SRC_DIR}/morphology-sga.el"
"${SRC_DIR}/morphology-txb.el"
"${SRC_DIR}/morphology-peo.el"
"${SRC_DIR}/morphology-akk.el"
"${SRC_DIR}/morphology-uga.el"
"${SRC_DIR}/morphology-egy.el"
"${SRC_DIR}/morphology-sux.el"
"${SRC_DIR}/morphology-gez.el"
"${SRC_DIR}/morphology-cop.el"
# Higher layers
"${SRC_DIR}/grammar.el"
"${SRC_DIR}/realizer.el"
"${SRC_DIR}/semantics.el"