@zsnout/ithkuil
Version:
A set of tools which can generate and parse romanized Ithkuil text and which can generate Ithkuil script from text and JSON data.
27 lines (26 loc) • 609 B
JavaScript
import { deepFreeze } from "../../helpers/deep-freeze.js";
/** An array containing all illocutions. */
export const ALL_ILLOCUTIONS =
/* @__PURE__ */ deepFreeze([
"ASR",
"DIR",
"DEC",
"IRG",
"VRF",
"ADM",
"POT",
"HOR",
"CNJ",
]);
/** An object mapping from illocutuons to their names. */
export const ILLOCUTION_TO_NAME_MAP = /* @__PURE__ */ deepFreeze({
ASR: "Assertive",
DIR: "Directive",
DEC: "Declarative",
IRG: "Interrogative",
VRF: "Verificative",
ADM: "Admonitive",
POT: "Potentiative",
HOR: "Hortative",
CNJ: "Conjectural",
});