1 | Prism.languages.gcode = {
|
2 | 'comment': /;.*|\B\(.*?\)\B/,
|
3 | 'string': {
|
4 | pattern: /"(?:""|[^"])*"/,
|
5 | greedy: true
|
6 | },
|
7 | 'keyword': /\b[GM]\d+(?:\.\d+)?\b/,
|
8 | 'property': /\b[A-Z]/,
|
9 | 'checksum': {
|
10 | pattern: /\*\d+/,
|
11 | alias: 'punctuation'
|
12 | },
|
13 | // T0:0:0
|
14 | 'punctuation': /:/
|
15 | };
|