Skip to main content

Stageleft

Hydro uses a library called Stageleft to power the q! macro and code generation logic.

The Quoting Code page explains how to use the q! macro and how quoted code can capture variables (free variables) such as configuration values and Hydro state references. The Quoting Limitations page covers known edge cases and workarounds.

For detailed documentation on Stageleft's architecture and the q! macro, see the Stageleft README.

note

Hydro programmers need not understand how Stageleft works under the hood; the Quoting Code page covers everything you need to write Hydro programs, and further information is provided for readers interested in how the q! macro works.