Genome

A plushy is a list of Push instructions that represent a Push program. They hold the genetic material for an individual. In the initial population, we create random plushys.

Function Parameters Description
make-random-plushy instructions max-initial-plushy-size Creates and returns a new plushy made of random instructions and of a maximum size of max-initial-plushy-size
plushy->push plushy argmap Returns the Push program expressed by the given plushy representation.