Merge pull request #1534 from github/1530-local

1530 local
This commit is contained in:
Arfon Smith
2014-09-15 14:00:49 -05:00
6 changed files with 55796 additions and 3 deletions

View File

@@ -756,6 +756,14 @@ Frege:
extensions:
- .fr
G-code:
type: data
lexer: Text only
extensions:
- .g
- .gco
- .gcode
Game Maker Language:
type: programming
color: "#8ad353"

View File

@@ -181,6 +181,9 @@
"Frege": [
".fr"
],
"G-code": [
".g"
],
"GAMS": [
".gms"
],
@@ -857,8 +860,8 @@
"exception.zep.php"
]
},
"tokens_total": 661517,
"languages_total": 912,
"tokens_total": 661949,
"languages_total": 916,
"tokens": {
"ABAP": {
"*/**": 1,
@@ -22839,6 +22842,69 @@
"newContentPane.setOpaque": 1,
"frame.setContentPane": 1
},
"G-code": {
";": 8,
"RepRapPro": 1,
"Ormerod": 1,
"Board": 1,
"test": 1,
"GCodes": 1,
"M111": 1,
"S1": 1,
"Debug": 1,
"on": 1,
"G21": 1,
"mm": 1,
"G90": 1,
"Absolute": 1,
"positioning": 1,
"M83": 1,
"Extrusion": 1,
"relative": 1,
"M906": 1,
"X800": 1,
"Y800": 1,
"Z800": 1,
"E800": 1,
"Motor": 1,
"currents": 1,
"(": 1,
"mA": 1,
")": 1,
"T0": 2,
"Extruder": 1,
"G1": 17,
"X50": 1,
"F500": 2,
"X0": 2,
"G4": 18,
"P500": 6,
"Y50": 1,
"Y0": 2,
"Z20": 1,
"F200": 2,
"Z0": 1,
"E20": 1,
"E": 1,
"-": 146,
"M106": 2,
"S255": 1,
"S0": 1,
"M105": 13,
"G10": 1,
"P0": 1,
"S100": 2,
"M140": 1,
"P5000": 12,
"M0": 2,
"e": 145,
"G28": 1,
"X55": 3,
"Y5": 3,
"F2000": 1,
"Y180": 2,
"X180": 2
},
"GAMS": {
"*Basic": 1,
"example": 2,
@@ -73548,6 +73614,7 @@
"Erlang": 2928,
"Forth": 1516,
"Frege": 5564,
"G-code": 432,
"GAMS": 363,
"GAP": 9944,
"GAS": 133,
@@ -73764,6 +73831,7 @@
"Erlang": 5,
"Forth": 7,
"Frege": 4,
"G-code": 4,
"GAMS": 1,
"GAP": 7,
"GAS": 1,
@@ -73928,5 +73996,5 @@
"fish": 3,
"wisp": 1
},
"md5": "0eb7eaca3b173ad8d75c6149bd01fc6e"
"md5": "c4591bd0be052bcbb2ab31e06fe4c730"
}

57
samples/G-code/duettest.g Normal file
View File

@@ -0,0 +1,57 @@
; RepRapPro Ormerod
; Board test GCodes
M111 S1; Debug on
G21 ; mm
G90 ; Absolute positioning
M83 ; Extrusion relative
M906 X800 Y800 Z800 E800 ; Motor currents (mA)
T0 ; Extruder 0
G1 X50 F500
G1 X0
G4 P500
G1 Y50 F500
G1 Y0
G4 P500
G1 Z20 F200
G1 Z0
G4 P500
G1 E20 F200
G1 E-20
G4 P500
M106 S255
G4 P500
M106 S0
G4 P500
M105
G10 P0 S100
T0
M140 S100
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
G4 P5000
M105
M0

25912
samples/G-code/lm.g Normal file

File diff suppressed because it is too large Load Diff

29735
samples/G-code/rm.g Normal file

File diff suppressed because it is too large Load Diff

13
samples/G-code/square.g Normal file
View File

@@ -0,0 +1,13 @@
G28 X0 Y0
G1 X55 Y5 F2000
G1 Y180
G1 X180
G1 Y5
G1 X55
G1 Y180
G1 X180
G1 Y5
G1 X55
M0