install_riscript = {
hljs.registerLanguage(
"riscript",
(() => {
"use strict";
return s => ({
name: "RiScript",
aliases: ["risc", "riscript"],
case_insensistive: !1,
disableAutodetect: !0,
keywords: "",
contains: [
{ className: "rs-assign", match: /[\$]{1,2}[\w]+[\s]*\=/ },
{
className: "rs-transform",
match: /\.[\w]+[\(]?[\)]?/
},
{ className: "rs-dynamic", match: /\$\$[\w]+/ },
{ className: "rs-symbol", match: /\$[\w]+/ },
{
className: "rs-entity",
match: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
},
{
className: "rs-conditional",
match: /\{(\$[\w]+([\!\*\^\$<>]\=|[\=<>])([\w]+|[0-9]?\.[0-9]+)\,)?(\$[\w]+([\!\*\^\$<>]\=|[\=<>])([\w]+|[0-9]?\.[0-9]+))\}\?/
},
{
className: "rs-choice",
begin: /\(/,
end: /\)/,
illegal: "\n",
contains: [
{
className: "rs-weight",
match: /\[[0-9]+\]/
}
]
},
{ className: "rs-continuation", match: /[\w]+[\s]*\\$/ },
s.C_BLOCK_COMMENT_MODE,
s.C_LINE_COMMENT_MODE
]
});
})()
);
}