You are here

last-command

The last-command slot in buffer queries allows canonical lisp to see what the last request issued to a module was. Unfortunately, requests are not first-class model elements (can't be stored, retrieved, or even inspected), so !eval!s are required to make any significant sense of them.

As an implementation feature (not theoretic), last-command is extremely useful. Since jACT-R doesn't support !eval! anywhere near the level that canonical ACT-R does, last-command presents a challenge. Would it be sufficient to just stash the chunktype of the request in last-command? Or should a chunk be created for it (minus the conditional portions of the request)? Personally, I'd rather see requests become full model elements..

I think what I'll do is stash the request but on buffer queries just test the chunktype of the request...

Any ideas from out there?