Expr is the expression and scripting language used by PlanetCNC for calculations, automation logic, machine customization, and integration tasks.
Use these pages depending on what you need:
Start here if you are learning Expression for the first time:
Use these pages when you already understand programming basics and want to learn Expression quickly:
The tutorials teach Expression step by step. They are intended to be read in order.
How-to guides explain how to solve common tasks, such as writing conditions, using loops, organizing code, handling missing values, and debugging errors.
The reference manual defines the language syntax, values, operators, control flow, functions, classes, error behavior, execution model, and limits.
Expression language documentation is being migrated from the old draft page and from the internal reference chapters. Some pages may still be incomplete while this work is in progress.