UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

14 lines (13 loc) 467 B
import { a as languages } from "../../core-8vQkh0Rd.js"; //#region src/prism/languages/prolog.js languages.prolog = { "comment": /\/\*[^]*?\*\/|%.*/g, "string": /(["'])(?:\1\1|\\[^]|(?!\1)[^\\\n])*\1(?!\1)/g, "builtin": /\b(?:fx|fy|xf[xy]?|yfx?)\b/, "function": /\b[a-z]\w*(?:(?=\()|\/\d+)/, "number": /\b\d+(?:\.\d*)?/, "operator": /[\\$?@.:;|^!=<>/*+-]+|\b(?:is|mod|not|xor)\b/, "punctuation": /[()[\]{},]/ }; //#endregion //# sourceMappingURL=prolog.js.map