Skip to content
Discussion options

You must be logged in to vote

Indeed, the scope is not used for string replacement at all, but rather as the (first) place to look for the values of identifiers as the (abstract syntax tree of the parsed) expression is evaluated.

Closing this discussion.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@y-nk
Comment options

@gwhitney
Comment options

gwhitney Feb 5, 2026
Collaborator

Answer selected by y-nk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants