Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

G-code

< >

G-code is a programming language created in 1950.

#460on PLDB 74Years Old 4kRepos

G-code (also RS-274), which has many variants, is the common name for the most widely used numerical control (NC) programming language. It is used mainly in computer-aided manufacturing to control automated machine tools. G-code is sometimes called G programming language, not to be confused with LabVIEW's G programming language. Read more on Wikipedia...


Example from Linguist:
G28 X0 Y0 G1 X55 Y5 F2000 G1 Y180 G1 X180 G1 Y5 G1 X55 G1 Y180 G1 X180 G1 Y5 G1 X55 M0

View source

- Build the next great programming language About Resources Acknowledgements Part of the World Wide Scroll