Runtime environment for Hamlet