Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 162 by
garfield...@gmail.com: incorrect parse of gp with dot
http://code.google.com/p/soar/issues/detail?id=162
Using Soar 9.3.2 on Windows 7.
The production below does not parse at all, leading me to believe that dot
notation with gp patterns is not supposed to be supported:
gp {gp*fail4
(state <s> ^[att1 att2 <foo>].[bar baz qux] val) #can't use it with dots
like this
-->
(<s> ^foo <foo>)
}
For good measure, though, I tried the following:
gp {gp*test1
(state <s> ^foo.[bar baz qux] val)
-->
(<s> ^foo <foo>)
}
Soar accepts this as legal, so I would expect there to be three productions
using ^foo.bar, ^foo.baz and ^foo.qux. Instead, it produces three
productions with ^bar, ^baz and ^qux, which is clearly incorrect. The one
below yields unexpected results as well:
gp {gp*test2
(state <s> ^[bar baz qux].foo val)
-->
(<s> ^foo <foo>)
}
This gives three productions, all using ^foo (so they are identical
productions).
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings