To give a couple of examples to my previous message:
"Although scopes are determined statically, they are used dynamically."
What on earth does this mean?
"It is important to realize that scopes are determined textually: the
global scope of a function defined in a module is that module’s
namespace, no matter from where or by what alias the function is called.
On the other hand, the actual search for names is done dynamically, at
run time — however, the language definition is evolving towards static
name resolution, at “compile” time, so don’t rely on dynamic name
resolution! (In fact, local variables are already determined statically.)"
What does "determined textually" mean?
What is "the global scope of a function"? It just said functions have a
separate local scope. Now it's global?
I don't get it, what was the person who wrote this smoking?
Is this really the tutorial you recommend to people starting your language?