all repos — min @ b9fd9b188ec5e20828665d944327600c9d5e752b

A small but practical concatenative programming language.

Fixing typos + Copy editing
Yanis Zafirópulos 1265028+drkameleon@users.noreply.github.com
Mon, 02 Nov 2020 11:04:31 +0100
commit

b9fd9b188ec5e20828665d944327600c9d5e752b

parent

930446301c575da44f3dff0ebaafef772846aebe

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M site/contents/learn-scopes.mdsite/contents/learn-scopes.md

@@ -4,8 +4,8 @@ title: "Scopes"

----- {@ _defs_.md || 0 @} -As explained in [Definitions](/learn-definitions), min uses lexical scoping to resolve symbol. A *scope* is an execution context (a symbol table really) that: -* is created while a a new quotation is being dequoted or a dictiionary is created. +As explained in [Definitions](/learn-definitions), min uses lexical scoping to resolve symbols. A *scope* is an execution context (a symbol table really) that: +* is created while a new quotation is being dequoted or a dictionary is created. * is destroyed after a quotation has been dequoted. * is attached to a dictionary.

@@ -55,6 +55,6 @@ In this case, when `with` is pushed on the stack, it will dequote `(4 2 minus)`. Note that the symbol `minus` is defined in the dictionary that will be used by `with` as the current scope, so after `with` is pushed on the stack, the stack contents are:

4 2 (-) -At this points, the {#link-operator||lang||dequote#} operator is pushed on the stack and the subtraction is executed leaving `2` on the stack. +At this point, the {#link-operator||lang||dequote#} operator is pushed on the stack and the subtraction is executed leaving `2` on the stack. {#link-learn||control-flow||Control Flow#}