Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Value Stages

Value Stages

Panther
Documentation


All expressions have a value stage which dictate which stage of compilation it may be used in.

Comptime Value Stage

Comptime values are values that are known at compile-time and can be used as comptime expressions. Anywhere that requires a interptime or a runtime value also accept comptime values.

The following are comptime expressions:

Runtime Value Stage

Runtime values are values that may only be used at runtime as they are not known and/or cannot be calculated at compile-time. A comptime value may also be used as a runtime value.

The following are runtime expressions: