Custom execution stack to mimic compilation behavior
A script is composed of states, which have every event listed in SLEvents, or OSEvents which inherits SLEvents
Each event will be composed of an execution stack. Custom function can be defined, they shall be stored in a dictionary with their execution stack