@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.
43 lines (42 loc) • 910 B
JavaScript
import { deepFreeze } from "../../helpers/deep-freeze.js";
/** An array containing all validations. */
export const ALL_VALIDATIONS =
/* @__PURE__ */ deepFreeze([
"OBS",
"REC",
"PUP",
"RPR",
"USP",
"IMA",
"CVN",
"ITU",
"INF",
]);
/**
* An array containing all validations in the order they're used for when
* diacritics on secondary characters.
*/
export const ALL_VALIDATIONS_DIACRITIC_ORDER =
/* @__PURE__ */ deepFreeze([
"OBS",
"REC",
"PUP",
"RPR",
"IMA",
"CVN",
"ITU",
"INF",
"USP",
]);
/** An object mapping from validations to their names. */
export const VALIDATION_TO_NAME_MAP = /* @__PURE__ */ deepFreeze({
OBS: "Observational",
REC: "Recollective",
PUP: "Purportive",
RPR: "Reportive",
USP: "Unspecified",
IMA: "Imaginary",
CVN: "Conventional",
ITU: "Intuitive",
INF: "Inferential",
});