Z+ Language Reference

Signal flow. Nothing else. Z+ describes connections between signals. The OS resolves them. You don't tell the machine what to do. You tell it what's connected to what.

sensor -> gate(> 20cm) -> motor

That's a program. The sensor emits. The gate evaluates. The motor responds. Continuously.

Sections

File format

Z+ programs use the .zp extension. No imports, no main function, no boilerplate. The file is wiring. The wiring is the program.

$ ls my-project/
main.zp          # primary wiring
sensors.zp       # sensor definitions
behaviors.zp     # behavior logic