Rebol is Statically Scoped

Rebol has static scoping,


The question is not “what scoping does Rebol employ?”, but, “when is Rebol scoping determined, when is a Rebol program compiled?”.

Rebol - Static Typing, Dynamic Compilation

Rebol has static scoping, but dynamic compilation.

We are accustomed to there being one compilation time and one run time.

Rebol has multiple compilation times.

The compilation of Rebol code depends on the context that exists at the time of compilation.

Rebol code is compiled at different times, within different contexts. This means that Rebol functions might be compiled differently at different times.

Appendix - REBOL Scoping