mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Add support for G-code language
This is a special language controlling 3D printers (by RepRap, Makerbot, Ultimaker etc.). It is not a general purpose programming language, but still contains commands for e.g. looping. On the other hand, most of the time it will be generated by another program, not hand-written. Hence I classified it as "data". Specification: * http://reprap.org/wiki/G-code Some repositories with examples: * https://github.com/reprappro/Mendel * https://github.com/BLLIP/bllip-parser * https://github.com/MakerGear/M2
This commit is contained in:
		
							
								
								
									
										13
									
								
								samples/G-code/square.g
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								samples/G-code/square.g
									
									
									
									
									
										Normal 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 | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user