UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

25 lines (24 loc) 978 B
import { a as languages } from "../../core-8vQkh0Rd.js"; //#region src/prism/languages/j.js languages.j = { "comment": /\bNB\..*/, "string": /'(?:''|[^\n'])*'/g, "keyword": /\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|catch[dt]?|continue|do|else|elseif|end|f?case|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/, "verb": { pattern: /(?!\^:|;\.|[!=][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[!=\]]|[<>*%$|,#+-][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_/\\qsux]|_?\d):)/, alias: "keyword" }, "number": /\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[a-z\d]+(?:\.[a-z\d]+)?)?|_\b(?!\.))/, "adverb": { pattern: /[~}]|[/\\]\.?|[bfM]\.|t[.:]/, alias: "builtin" }, "operator": /[=a][.:]|_\./, "conjunction": { pattern: /&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/, alias: "variable" }, "punctuation": /[()]/ }; //#endregion //# sourceMappingURL=j.js.map