NAME
Soar aliases
DESCRIPTION
There are a number of command aliases that are provided by Soar.
These are used to provide short versions of built in commands
and to provide syntactic continuity with previous versions of
Soar. Soar provides a predefined set of aliases that will be
useful to most users. Soar also provides a set of aliases to
aid Soar 6 users.
These aliases are equivalent to an existing built in command
and (possibly) a set of switches for the command. Additional
arguments given after the alias are passed on to the built in
command.
The predefined aliases are:
- ?
- A short form of the help command.
- wmem
- Prints the contents of working memory. It is equivalent to
print -depth 0 -internal.
The Soar 6 compatibility aliases are:
- create-agent
- Equivalent to create-interp -agent.
- destroy-agent
- Equivalent to destroy-interp.
- excise-all
- Equivalent to excise -all.
- excise-chunks
- Equivalent to excise -chunks.
- excise-task
- Equivalent to excise -task.
- list-agents
- Equivalent to list-interps -agent.
- list-chunks
- Equivalent to list-productions -chunk.
- list-help-topics
- Equivalent to help -all.
- list-justifications
- Equivalent to list-productions -justification.
- load
- Equivalent to source
- memory-stats
- Equivalent to stats -memory
- object-trace-format
- Equivalent to format-watch -object
- p
- Equivalent to print
- pgs
- Equivalent to print -stack
- print-stats
- Equivalent to stats
- rete-stats
- Equivalent to stats -rete
- r
- Equivalent to run
- select-agent
- Equivalent to select-interp
- spr
- Equivalent to print
- stack-trace-format
- Equivalent to format-watch -stack
FILES
All alias definition files are in the Soar Tcl library directory.
The predefined aliases are included in the startup file
soar.tcl. The Soar 6 compatibility aliases are in
alias-soar6.tcl. The predefined alias file is loaded in
a Soar interpreter automatically. The alias-soar6.tcl
can be loaded in by one of the Soar init files or at any other
time a source command is usable.
SEE ALSO
alias