UNPKG

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

16 lines (15 loc) 480 B
import { anyText, seq } from "../builder.js"; import { V } from "../forms.js"; /** * A regular expression matching suppletive adjuncts. A group marked as * **required** will always be present, while those marked **optional** may not * be present. * * 1. Cp (required) * 2. Vc (required) */ export const suppletiveAdjunct = /* @__PURE__ */ seq( /* @__PURE__ */ anyText("hl", "hm", "hn", "hň").asGroup(), /* @__PURE__ */ V.asGroup()) .matchEntireText() .compile();