UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

14 lines (13 loc) 553 B
import { l as languages } from "../../index-C1_GGQ8y.js"; languages.hoon = { "comment": /::.*/, "string": { pattern: /"(?:\\.|[^\\"])*"|'(?:\\.|[^\\'])*'/g, greedy: true }, "constant": /%(?:\.[ny]|[\w-]+)/, "class-name": /@(?:[a-z\d-]*[a-z\d])?|\*/i, "function": /(?:\+[+-] )?(?:[a-z](?:[a-z\d-]*[a-z\d])?)/, "keyword": /\.[+*=?^]|![.:?!=<>]|=[.,:;~?|^<>/*+-]|\?[|.:^<>&~=@!+-]|\|[$_%.:^~*=@?-]|\+[|$+*]|:[_^~*+-]|%[_.:^~*=+]|\^[|.:&~*=?+-]|\$[|_%:<>^&~@=?-]|;[<:;/~*=+]|~[%&|$_?!=<>/+]|--|==/ }; //# sourceMappingURL=hoon.js.map