Skip to content

Language Overview

Devlish is designed to make executable rules and workflows readable to the people who need to review them. It uses a controlled subset of English: phrases such as If, For each, and Respond with have defined syntax and behavior. Writing a program means specifying its steps explicitly.

That design is useful when a calculation or decision needs to be inspected and repeated. A language model can be called at a chosen step, but ordinary statements execute according to the compiled program without model interpretation.

A .dvl file normally contains one statement per line. Indentation groups steps inside a condition or loop. Variables hold intermediate values, records hold named fields, and lists hold ordered collections. External operations such as file reads and model calls depend on the runtime hosting the program.

Syntax Basics introduces those building blocks. If you would prefer to run a complete example first, follow the Quick Start.

A statement example shows a complete operation. An expression example shows only a calculation or helper, such as map names to trim item; use it after equals, Print, or Respond with. Topic pages explain which form they show. Complete workflow examples include the assignments and control flow needed to connect the steps.