Hamletmachine is a postmodernist drama by German playwright and theatre director Heiner Müller, loosely based on Hamlet by William Shakespeare. It was written in 1977, and is related to a translation of Shakespeare's Hamlet that Müller undertook. From Wikipedia