UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

11 lines (10 loc) 516 B
import { l as languages } from "../../index-DF54SWhA.js"; languages.hoon = { "comment": /::.*/, "string": /"(?:\\.|[^\\"])*"|'(?:\\.|[^\\'])*'/g, "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