This is a simple implementation of two stacks, one of FIFO type and the other of LIFO type.
Both are based on the script.dictionary object and are self contained in two functions.
If you call the function by passing an element as a parameter, that element is pushed on the stack,
if...