clojush.instructions.tag
closest-association
(closest-association tag state)Returns the key-val pair for the closest match to the given tag in the given state.
handle-tag-instruction
(handle-tag-instruction i state)Executes the tag instruction i in the state. Tag instructions take one of the following forms: tag_
return-tag-instruction-erc
(return-tag-instruction-erc types limit)(return-tag-instruction-erc types)Returns a function which, when called on no arguments, returns a function of Push state that pushes a literal followed by a tagging instruction of the same type.
tag-instruction-erc
(tag-instruction-erc types limit)(tag-instruction-erc types)Returns a function which, when called on no arguments, returns a symbol of the form tag_
tagged-code-instruction-erc
(tagged-code-instruction-erc limit)(tagged-code-instruction-erc)Returns a function which, when called on no arguments, returns a symbol of the form tagged_code_
tagged-instruction-erc
(tagged-instruction-erc limit)(tagged-instruction-erc)Returns a function which, when called on no arguments, returns a symbol of the form tagged_
tagged-when-instruction-erc
(tagged-when-instruction-erc limit)(tagged-when-instruction-erc)Returns a function which, when called on no arguments, returns a symbol of the form tagged_when_
untag-instruction-erc
(untag-instruction-erc limit)(untag-instruction-erc)Returns a function which, when called on no arguments, returns a symbol of the form untag_