blob: fae8accf0e4dae7de175039e75eafa11046e6bb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
(Prism.languages.wolfram = {
comment: /\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,
string: { pattern: /"(?:\\.|[^"\\\r\n])*"/, greedy: !0 },
keyword:
/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,
context: { pattern: /\b\w+`+\w*/, alias: 'class-name' },
blank: { pattern: /\b\w+_\b/, alias: 'regex' },
|