mirror of
https://github.com/zeroflag/fcl.git
synced 2025-01-11 20:01:10 +01:00
Update README.md
This commit is contained in:
parent
2ca31fe44c
commit
07f89b6ccb
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ In the loop body we use two more locals to name the output of the `/mod` which r
|
||||||
|
|
||||||
### Implementation notes
|
### 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.
|
At runtime they load the top of the stack into the proper location of the parameter stack which is associated to the current local.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue