Message Extension

Message

Sending: Messages are sent, by prefixing s-expression with an ‚m’: „m(some-valid-s-expression)“

Receiving: Receiving Messages is not placing Messages into ACT-R Buffers currently. Here is a fix... In act-r-experiment.lisp define which buffer the messages are stored in for example the imaginal buffer, in the scene update loop:

(msg->disc (destructuring-bind (x) attributes (mod-buffer-chunk 'imaginal `(msg->disc ,x))))
(msg->rect (destructuring-bind (x) attributes (mod-buffer-chunk 'imaginal `(msg->rect ,x))))

Agent Sending: Add to the Agent !eval! (send-message =message)

Edited by Moritz Bayerkuhnlein