-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The current do form is from Forth. There are implicit loop counter variables (i,j,k etc..) that can be used to get the current value of the counter. Using the following form:
100 1 for x do
..
loop
we can get rid of the implicit counters and probably remove the whole concept of the return stack from the language. The for and do parts allow capturing the variable rather simply and remodeling the loop in infix and other formats using the usual evaluation techniques.
Metadata
Metadata
Assignees
Labels
No labels