astro-ghostcms/.pnpm-store/v3/files/bc/0e75d882f6ad44db851901e2353...

7 lines
20 KiB
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
const lang = Object.freeze({ "displayName": "Gnuplot", "fileTypes": ["gp", "plt", "plot", "gnuplot"], "name": "gnuplot", "patterns": [{ "match": "(\\\\(?!\\n).*)", "name": "invalid.illegal.backslash.gnuplot" }, { "match": "(;)", "name": "punctuation.separator.statement.gnuplot" }, { "include": "#LineComment" }, { "include": "#DataBlock" }, { "include": "#MacroExpansion" }, { "include": "#VariableDecl" }, { "include": "#ArrayDecl" }, { "include": "#FunctionDecl" }, { "include": "#ShellCommand" }, { "include": "#Command" }], "repository": { "ArrayDecl": { "begin": "\\b(?x:\n (array)\\s+ # 1: array keyword\n ([A-Za-z_]\\w*)? # 2: var name\n # Note: Handle size decl and init expression inside.\n # TODO: Properly annotate brackets.\n )", "beginCaptures": { "1": { "name": "support.type.array.gnuplot" }, "2": { "name": "entity.name.variable.gnuplot", "patterns": [{ "include": "#InvalidVariableDecl" }, { "include": "#BuiltinVariable" }] } }, "end": "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", "name": "meta.variable.gnuplot", "patterns": [{ "include": "#Expression" }] }, "BuiltinFunction": { "patterns": [{ "match": "\\b(?x:\n defined\n )\\b", "name": "invalid.deprecated.function.gnuplot" }, { "match": "\\b(?x:\n abs |\n acos |\n acosh |\n airy |\n arg |\n asin |\n asinh |\n atan |\n atan2 |\n atanh |\n EllipticK |\n EllipticE |\n EllipticPi |\n besj0 |\n besj1 |\n besy0 |\n besy1 |\n ceil |\n cos |\n cosh |\n erf |\n erfc |\n exp |\n expint |\n floor |\n gamma |\n ibeta |\n inverf |\n igamma |\n imag |\n invnorm |\n int |\n lambertw |\n lgamma |\n log |\n log10 |\n norm |\n rand |\n real |\n sgn |\n sin |\n sinh |\n sqrt |\n tan |\n tanh |\n voigt |\n cerf |\n cdawson |\n faddeeva |\n erfi |\n VP\n )\\b", "name": "support.function.math.gnuplot" }, { "match": "\\b(?x:\n gprintf |\n sprintf |\n strlen |\n strstrt |\n substr |\n strftime |\n strptime |\n system |\n word |\n words\n )\\b", "name": "support.function.string.gnuplot" }, { "match": "\\b(?x:\n column |\n columnhead |\n exists |\n hsv2rgb |\n stringcolumn |\n timecolumn |\n tm_hour |\n tm_mday |\n tm_min |\n tm_mon |\n tm_sec |\n tm_wday |\n tm_yday |\n tm_year |\n time |\n valid |\n value\n )\\b", "name": "support.function.other.gnuplot" }] }, "BuiltinOperator": { "patterns": [{ "match": "(&&|\\|\\|)", "name": "keyword.operator.logical.gnuplot" }, { "match": "(<<|>>|&|\\||\\^)", "name": "keyword.operator.bitwise.gnuplot" }, { "match": "(==|!=|<=|<|>=|>)", "name": "keyword.operator.comparison.gnuplot" }, { "match": "(=)", "name": "keyword.operator.assignment.gnuplot" }, { "match": "(\\+|-|~|!)", "name": "keyword.operator.arithmetic.gnuplot" }, { "match": "(\\*\\*|\\+|-|\\*|/|%)", "name": "keyword.operator.arithmetic.gnuplot" }, { "captures": { "2": { "name": "keyword.operator.word.gnuplot" } }, "match": "(\\.|\\b(eq|ne)\\b)", "name": "keyword.operator.strings.gnuplot" }] }, "BuiltinVariable": { "patterns": [{ "match": "\\b(?x:\n FIT_LIMIT |\n FIT_MAXITER |\n FIT_STA
var gnuplot = [
lang
];
export { gnuplot as default };