use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
G28*22
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "G28"],
|
||||
["checksum", "*22"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for checksums.
|
@ -0,0 +1,20 @@
|
||||
; foo
|
||||
(Home some axes)
|
||||
G28 (here come the axes to be homed) X
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "; foo"],
|
||||
|
||||
["comment", "(Home some axes)"],
|
||||
|
||||
["keyword", "G28"],
|
||||
["comment", "(here come the axes to be homed)"],
|
||||
["property", "X"]
|
||||
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
@ -0,0 +1,23 @@
|
||||
G00
|
||||
G200
|
||||
G84.1
|
||||
|
||||
M00
|
||||
M123
|
||||
M52.4
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "G00"],
|
||||
["keyword", "G200"],
|
||||
["keyword", "G84.1"],
|
||||
|
||||
["keyword", "M00"],
|
||||
["keyword", "M123"],
|
||||
["keyword", "M52.4"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for G- and M-codes.
|
@ -0,0 +1,17 @@
|
||||
X123
|
||||
Y0.2
|
||||
Z-3.1415
|
||||
E420:420
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["property", "X"], "123\n",
|
||||
["property", "Y"], "0.2\n",
|
||||
["property", "Z"], "-3.1415\n",
|
||||
["property", "E"], "420", ["punctuation", ":"], "420"
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all other codes except G- and M-codes.
|
@ -0,0 +1,17 @@
|
||||
M587 S"MYROUTER" P"ABCxyz;"" 123"
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "M587"],
|
||||
|
||||
["property", "S"],
|
||||
["string", "\"MYROUTER\""],
|
||||
|
||||
["property", "P"],
|
||||
["string", "\"ABCxyz;\"\" 123\""]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for strings.
|
Reference in New Issue
Block a user