Also in our next release of Soar (8.6.2), which should be out in a week =
two, we're moving towards a solution that will again let you use Tcl in =
However, it'll be a while before that'll be a complete solution for Tcl.
[mailto:soar-group-admin@...] On Behalf Of Karen J.
Sent: Wednesday, May 10, 2006 7:14 AM
To: Han=E1k D=E1vid
Subject: Re: [soar-group] How to use water-jug.tcl & how to print chunk
Neither question is stupid. Soar has changed a lot from 8.5 to 8.6 in
regard to the user interface.
Soar 8.5 was an extension to Tcl, and always the Tcl interpreter was =
the Soar agent. That is not the case in Soar 8.6. Tcl is still =
but Tcl interps are no longer automatically part of Soar agents, so =
Tcl commands like 'proc' are not defined. And vanilla Tcl interps know
nothing about Soar commands like 'excise'
In the JavaSoarDebugger, you can load the water-jug and =
demos using the *.soar files which contain only the rules. The .tcl =
include Tk procs for displaying graphics. In the debugger, under the
"Demos" menu, select water-jug and choose one of the rule sets to load.
water-jug-look-ahead is also a
button at the bottom of the SoarJavaDebugger.
To create a Soar agent with a Tcl interp takes more information than I =
to put in this email, so write again if that is what you think you need =
To look at chunks, you can _print_ them:
If you "watch -L 0" (that's a zero) or -L 1 or -L 2
you'll get more information printed as chunks are created. Level 2 =
the full chunk when it's created. =20
Hope that gets you rolling.
On 5/10/06, Han=E1k D=E1vid <dhanak@...> wrote:=20
I have two questions. The first is probably a very stupid one, but I
don't seem to be able to either find the answer in the documentation or
figure it out by myself. It is this: I'd like to use water-jug.tcl (and
water-jug-look-ahead.tcl), but if I load it in tclsh, I get the error
'invalid command name "excise"' (obviously), and if I do it in
SoarDebugger, I get the error message "Source command error on (or near) =
line 13 of water-jug-look-ahead.tcl" which is the line containing the
first "proc" declaration. How to do this properly?
The other question relates to chunks. I can see in the debugger when
chunks are created, and if I crank up the watch level, I can even see
the subspace result from which they are created, but how can I figure
out the conditions of the newly created production? In general, how can
I print a production created from a chunk in human readable form?
David Hanak MTA SZTAKI
dhanak@... Virtual Human Interface Group
+36-1-279-6283 Kende u. 13-17. H-1111 Budapest, Hungary
Using Tomcat but need to do more? Need to support web services, =
Get stuff done quickly with pre-integrated technology to make your job
Download IBM WebSphere Application Server v.1.0.1 based on Apache =
soar-group mailing list
University of Michigan=20