From 07f89b6ccbad7c3c5dd9162f111100ba7ae66162 Mon Sep 17 00:00:00 2001 From: Attila Magyar Date: Fri, 25 Jun 2021 15:07:02 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a41450..e662376 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ In the loop body we use two more locals to name the output of the `/mod` which r ### Implementation notes -Local variable support is implemented in FCL itself. Locals are stored in a parameter stack. Both `->` and `=>` are immediate parsing words. They have both runtime and compilation semantics. They compile an inline *lookup word* within the enclosing word. The lookup word is removed from the dictionary after the compilation is finished. +Local variable support is [implemented](main/src/main/res/raw/locals.forth) in FCL itself. Locals are stored in a parameter stack. Both `->` and `=>` are immediate parsing words. They have both runtime and compilation semantics. They compile an inline *lookup word* within the enclosing word. The lookup word is removed from the dictionary after the compilation is finished. At runtime they load the top of the stack into the proper location of the parameter stack which is associated to the current local.