Title: A program generator for discrete event modelling in demos