Language Reference
Variables
Declare, update, and reuse values with natural language assignments.
Assignment verbs
setandletfor direct assignment.create a variable namedfor clarity.- Use lists and dictionaries inline.
Basic assignments
Use simple verbs to declare a value or update an existing one.
variables.pln
let name be "Ada"
set age to 30
create a variable named status with "active"
set score to score + 1
Lists and dictionaries
Initialize structured data directly in the assignment line.
collections.pln
create a list named items with ["alpha", "beta", "gamma"]
create a dictionary named profile with {"role": "admin", "active": true}
set profile["team"] to "platform"
Patterns to keep code readable
- Keep variable names short and descriptive.
- Use
setwhen updating existing values. - Prefer explicit names over single-letter variables.