I wonder how events, or more broadly reactive programming, could be managed in a simple stack-oriented language.
For example, let's imagine a context where there is a button that displays a small message when you press it. How could an entire program on the stack handle the case where the user presses the button without that becoming unmanageable (for example +30 buttons)? Does the button information remain on the stack throughout the execution? Since we only have access to the last element of the stack, how do we send the information?
More clearly, how could a stack of execution of a stack-oriented language handle the case of the events?