-
Notifications
You must be signed in to change notification settings - Fork 4
Stack Machine
gets the current logging level ( ... -> ... {number} )
sets the current logging level ( ... {number} -> ... )
moves the top of the stack to the tail of the queue ( ... {any} -> ... )
moves the tail of the queue to the top of the stack ( ... -> ... {any} )
replaces the stack with a quote containing the current stack ( ... -> [ ... ] )
increments the depth counter
decrements the depth counter
pushes a quotation maker onto the stack ( ... -> ... #( )
collects stack items upto the last quote marker ( #( ... -> [ ... ] )
pushes the size of the current stack ( ... -> ... {number} )
replaces the stack with the item found at the top of the stack ( ... [A] -> A )
replaces the queue with the item found at the top of the stack ( ... [A] -> ... )
restores the stack to state before previous eval
defines a set of words ( ... { object} -> ... )
stores a quote in the dictionary ( ... [A] {string} -> ... )
defines a word ( ... [A] {string} -> ... )
memoize a defined word ( ... {string} -> ... )
deletes a defined word ( ... {string} -> ... )
recalls the definion of a word ( ... {string} -> ... [A] )
expand the definion of a word ( ... {string} -> ... )
recalls the definition of a word as a string ( ... {string} -> ... {string} )
returns a list of defined words ( ... -> ... {array} )
clears the stack ( ... -> )
push the top of the queue to the stack ( ... -> ... {any} )
evalues the quote in a child environment ( [A] -> [a] )
evalues the quote in a child environment, returns a future ( [A] -> {future} )
loads and runs a ff or json file
saves the current stack and dictionary as a JSON file
- Introduction
- Language
- Words
- Internal
- Definitions
- Examples