-
Notifications
You must be signed in to change notification settings - Fork 93
Brief introduction to Push
Clojush is a variant of the PushGP language, which is a genetic programming system that evolvestg Push programs. This section would provide a brief introduction of Push and PushGP.
Push is a programming language created by Lee Spector and his colleagues and students. It is a programming language which is used to represent the programs to evolve. Although a batch of forms of programs had been used for evolutionary computing, Push was supposed to make a difference by its unique approaches.
The creative way to handle types is the core idea of Push. Being a stack-based language, the data would absolutely be stored in stacks. However, in Push, each type has its own stack. Once an instruction requires some inputs, the programs would pop items in the related stacks. Similarly, when some outputs are generated, they would be pushed into the stacks for their types. Even code itself is a type and there’s a stack for codes.