SoarGroup / VisualSoar

VisualSoar is a development environment written in Java to aid in the creation of agents for use in Soar
6 stars 6 forks source link

Problem with datamap for a variable attribute #22

Open PLatCIC opened 6 months ago

PLatCIC commented 6 months ago

ghost-draw.txt

The above file is a .soar file with the extension changed to .txt so github will accept it.

When I try to check against the datamap, this file produces lots of errors, as shown in this file:

ghost-draw-errors.txt

It appears that all the errors originate from the places where there is a variable for an attribute, as in lines 38 and 73 of the .soar file. A Soar agent seems to handle this just fine, but Visual Soar does not seem to understand it.

garfieldnate commented 6 months ago

The above file is a .soar file with the extension changed to .txt so github will accept it.

I'm not sure what application behavior led you to believe this, but git and github (and any other git website) work well with any text files, regardless of the extension. Is there something weird you're seeing in GitHub Desktop?

Here's a random Soar file being displayed on GitHub: https://github.com/SoarGroup/Soar/blob/development/UnitTests/SoarTestAgents/Chunking/expected/ChunkingDemoTests_Teach_Soar_9_Games_expected.soar.

PLatCIC commented 6 months ago

The issue is not that I can't put a link to a .soar file, but that I can't paste a .soar file write here in my comment. I get this:

image