All expressions have a value stage which dictate which stage of compilation it may be used in.
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:
Interptime values are values that may be used inside a comptime function but are not comptime themselves. Anywhere that requires a runtime values also accept interptime values.
The following are interptime expressions:
Runtime values are values that may only be used at runtime as they are not known and/or cannot be calculated at compile-time. Anywhere that that requires a runtime value also accept interptime and comptime values.
The following are runtime expressions: