To produce production rules suitable for simulation with the old prsim simulator, simply invoke: ‘hflat prsim <objfile>’, where objfile contains compiled top-level instances and definitions. If the object file is not already created and allocated, the flattener will automatically do so (possibly catching and reporting errors from the later compile phases) before producing the flattened output. The flattener produces a list of all instantiated production rules and connections in human-readable text, which can be redirected to a file or piped straight into the old prsim.
There is also a completely rewritten production rule simulator named (you guessed it) hackt prsim, or just hacprsim. It emulates the behavior of the old prsim and provides new features. There (is, will be) a separate document for the new version, coming to a documentation directory near you. Very little documentation is required because there is a help system built into the program. A list of all commands with one-line descriptions can be browsed by running ‘hacprsim -h’ with no other arguments. In the interpreter, help for any command or category can be viewed by typing ‘help <command>’ at the prompt.