[ACT-R-users] ACT-R Lisp interactions

Bruce J Weimer MD bjweimer at charter.net
Wed Jun 18 11:26:59 EDT 2008


Dan,

Perfect!  I'm trying to decide whether or not I can use ACT-R as the 
"cognitive engine" for my robot - the robot's "higher level" functions are 
in Lisp... so I'm hoping that it'll be easy to interface what I have with 
ACT-R.  I've skimmed the tutorials in order to get a general overview.  And 
I'm now working my way through the chapters one at a time.  I hadn't come 
across !eval! (yet) - so thank you.  So far, I think that this is going to 
work at least as a possible natural language interface.  But I'm hoping to 
be able to take this further - for example, I'd like to use ACT-R to encode 
emotion-based behaviors that evolve with experience.  In the meantime, the 
responses and encouragement of everyone on this list has been greatly 
appreciated!

Bruce.



----- Original Message ----- 
From: "Dan Bothell" <db30 at andrew.cmu.edu>
To: "Bruce J Weimer MD" <bjweimer at charter.net>
Cc: "ACT-R" <act-r-users at act-r.psy.cmu.edu>
Sent: Tuesday, June 17, 2008 8:17 AM
Subject: Re: [ACT-R-users] ACT-R Lisp interactions


>
> The answers to your questions are yes and yes.  The mechanism for doing
> that is the !eval! operator in productions.  Its use is introduced in unit
> 5 of the ACT-R tutorial, and you can find all of the details of the 
> operators
> available for use in productions in the reference manual included in the
> docs directory of the ACT-R 6 distribution.
>
> Dan
>
> --On Tuesday, June 17, 2008 8:01 AM -0700 Bruce J Weimer MD 
> <bjweimer at charter.net> wrote:
>
>>
>> I see that a) Lisp can run experiments and b) you can use !output! in a
>> production to print something to the computer screen.
>>
>> 1)  Can a Lisp variable be set in an ACT-R production so that Lisp later
>> has access to it - something like:
>>
>> LHS
>> ==>
>> (setf *foo* =num1)) ;where *foo* is "global" so Lisp has access to it
>>
>> or
>>
>> LHS
>> ==>
>> (setf *bar* =str1)) ;to pass a string to Lisp
>>
>>
>> 2)  Can a Lisp function be "fired" from a production - something like:
>>
>> LHS
>> ==>
>> (DoSomethingUsing  =num)) ;for example to execute some calculation using
>> =num
>>
>> Bruce.




More information about the ACT-R-users mailing list