site/node_modules/shiki/dist/langs/wolfram.mjs

7 lines
264 KiB
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
const lang = Object.freeze({ "displayName": "Wolfram", "fileTypes": ["wl", "m", "wls", "wlt", "mt"], "name": "wolfram", "patterns": [{ "include": "#main" }], "repository": { "association-group": { "begin": "<\\|", "beginCaptures": { "0": { "name": "punctuation.section.associations.begin.wolfram" } }, "end": "\\|>", "endCaptures": { "0": { "name": "punctuation.section.associations.end.wolfram" } }, "name": "meta.associations.wolfram", "patterns": [{ "include": "#expressions" }] }, "brace-group": { "begin": "\\{", "beginCaptures": { "0": { "name": "punctuation.section.braces.begin.wolfram" } }, "end": "\\}", "endCaptures": { "0": { "name": "punctuation.section.braces.end.wolfram" } }, "name": "meta.braces.wolfram", "patterns": [{ "include": "#expressions" }] }, "bracket-group": { "begin": "::\\[|\\[", "beginCaptures": { "0": { "name": "punctuation.section.brackets.begin.wolfram" } }, "end": "\\]", "endCaptures": { "0": { "name": "punctuation.section.brackets.end.wolfram" } }, "name": "meta.brackets.wolfram", "patterns": [{ "include": "#expressions" }] }, "comments": { "patterns": [{ "begin": "\\(\\*", "beginCaptures": { "0": { "name": "punctuation.definition.comment.wolfram" } }, "end": "\\*\\)", "endCaptures": { "0": { "name": "punctuation.definition.comment.wolfram" } }, "name": "comment.block", "patterns": [{ "include": "#comments" }] }, { "match": "\\*\\)", "name": "invalid.illegal.stray-comment-end.wolfram" }] }, "escaped_character_symbols": { "patterns": [{ "match": "System`\\\\\\[(?:F(?:ormalA|ormalAlpha|ormalB|ormalBeta|ormalC|ormalCapitalA|ormalCapitalAlpha|ormalCapitalB|ormalCapitalBeta|ormalCapitalC|ormalCapitalChi|ormalCapitalD|ormalCapitalDelta|ormalCapitalDigamma|ormalCapitalE|ormalCapitalEpsilon|ormalCapitalEta|ormalCapitalF|ormalCapitalG|ormalCapitalGamma|ormalCapitalH|ormalCapitalI|ormalCapitalIota|ormalCapitalJ|ormalCapitalK|ormalCapitalKappa|ormalCapitalKoppa|ormalCapitalL|ormalCapitalLambda|ormalCapitalM|ormalCapitalMu|ormalCapitalN|ormalCapitalNu|ormalCapitalO|ormalCapitalOmega|ormalCapitalOmicron|ormalCapitalP|ormalCapitalPhi|ormalCapitalPi|ormalCapitalPsi|ormalCapitalQ|ormalCapitalR|ormalCapitalRho|ormalCapitalS|ormalCapitalSampi|ormalCapitalSigma|ormalCapitalStigma|ormalCapitalT|ormalCapitalTau|ormalCapitalTheta|ormalCapitalU|ormalCapitalUpsilon|ormalCapitalV|ormalCapitalW|ormalCapitalX|ormalCapitalXi|ormalCapitalY|ormalCapitalZ|ormalCapitalZeta|ormalChi|ormalCurlyCapitalUpsilon|ormalCurlyEpsilon|ormalCurlyKappa|ormalCurlyPhi|ormalCurlyPi|ormalCurlyRho|ormalCurlyTheta|ormalD|ormalDelta|ormalDigamma|ormalE|ormalEpsilon|ormalEta|ormalF|ormalFinalSigma|ormalG|ormalGamma|ormalH|ormalI|ormalIota|ormalJ|ormalK|ormalKappa|ormalKoppa|ormalL|ormalLambda|ormalM|ormalMu|ormalN|ormalNu|ormalO|ormalOmega|ormalOmicron|ormalP|ormalPhi|ormalPi|ormalPsi|ormalQ|ormalR|ormalRho|ormalS|ormalSampi|ormalScriptA|ormalScriptB|ormalScriptC|ormalScriptCapitalA|ormalScriptCapitalB|ormalScriptCapitalC|ormalScriptCapitalD|ormalScriptCapitalE|ormalScriptCapitalF|ormalScriptCapitalG|ormalScriptCapitalH|ormalScriptCapitalI|ormalScriptCapitalJ|ormalScriptCapitalK|ormalScriptCapitalL|ormalScriptCapitalM|ormalScriptCapitalN|ormalScriptCapitalO|ormalScriptCapitalP|ormalScriptCapitalQ|ormalScriptCapitalR|ormalScriptCapitalS|ormalScriptCapitalT|ormalScriptCapitalU|ormalScriptCapitalV|ormalScriptCapitalW|ormalScriptCapitalX|ormalScriptCapitalY|ormalScriptCapitalZ|ormalScriptD|ormalScriptE|ormalScriptF|ormalScriptG|ormalScriptH|ormalScriptI|ormalScriptJ|ormalScriptK|ormalScriptL|ormalScriptM|ormalScriptN|ormalScriptO|ormalScriptP|ormalScriptQ|ormalScriptR|ormalScriptS|ormalScriptT|ormalScriptU|ormalScriptV|ormalScriptW|ormalScriptX|ormalScriptY|ormalScriptZ|ormalSigma|ormalStigma|ormalT|ormalTau|ormalTheta|ormalU|ormalUpsilon|ormalV|ormalW|ormalX|ormalXi|ormalY|ormalZ|ormalZeta))\\](?![`$[:alnum:]])", "name": "constant.language.wolfram" }, { "match": "System`\\\\\\[(?:S(?:ystemsModelDelay))\\](?![`$[:alnum:]])", "name": "constant.language.wolfram" }, { "match": "\\\\\\[(?:F(?:ormalA|ormalAlpha|ormalB|ormalBeta|ormalC|ormalCapitalA|ormalC
var wolfram = [
lang
];
export { wolfram as default };