@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.
19 lines (18 loc) • 773 B
TypeScript
/** A parsing adjunct. */
export type ParsingAdjunct = "monosyllabic" | "ultimate" | "penultimate" | "antepenultimate";
/** An array containing all parsing adjuncts. */
export declare const ALL_PARSING_ADJUNCTS: readonly ParsingAdjunct[];
/** An object mapping from parsing adjuncts to their Ithkuilic translations. */
export declare const PARSING_ADJUNCT_TO_ITHKUIL_MAP: {
readonly monosyllabic: "a'";
readonly ultimate: "e'";
readonly penultimate: "o'";
readonly antepenultimate: "u'";
};
/**
* Converts a parsing adjunct into Ithkuil.
*
* @param adjunct The adjunct to be converted.
* @returns Romanized Ithkuilic text representing the adjunct.
*/
export declare function parsingAdjunctToIthkuil(adjunct: ParsingAdjunct): "a'" | "e'" | "o'" | "u'";