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

extract datamap checking library #6

Open garfieldnate opened 1 year ago

garfieldnate commented 1 year ago

Static code analysis for Soar is very rare, and datamap checking in VisualSoar is probably the most valuable that exists. As VisualSoar really doesn't offer a great programming experience (compared to VSCode, Sublime, etc.), it would be nice to have the datamap functionality in a library so that we could use it elsewhere.

Imagine integrating it into the Soar LSP, then getting feedback while you write in VSCode. Or imagine building on the library to verify Soar WM itself so you get a warning when a non-datamap-compliant WME structure appears in working memory. Imagine having this functionality built directly into the Soar debugger.

PLindes commented 1 year ago

Hi Nathan,

What is VSCode? Does it support Soar code?

Peter

On Tue, Aug 15, 2023 at 1:57 PM Nathan Glenn @.***> wrote:

Static code analysis for Soar is very rare, and datamap checking in VisualSoar is probably the most valuable that exists. As VisualSoar really doesn't offer a great programming experience (compared to VSCode, Sublime, etc.), it would be nice to have the datamap functionality in a library so that we could use it elsewhere.

Imagine integrating it into the Soar LSP, then getting feedback while you write in VSCode. Or imagine building on the library to verify Soar WM itself so you get a warning when a non-datamap-compliant WME structure appears in working memory. Imagine having this functionality built directly into the Soar debugger.

— Reply to this email directly, view it on GitHub https://github.com/SoarGroup/VisualSoar/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIUA5OIB3Y2C7EBWAMFKP3XVPIBPANCNFSM6AAAAAA3RQM6VY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

garfieldnate commented 1 year ago

@PLindes VSCode is an extremely popular text editor: https://code.visualstudio.com/. SoarTech has a plugin here: https://marketplace.visualstudio.com/items?itemName=soartech.soar-language-support.

LSP is sort of a standard for implementing intelli-sense servers: https://microsoft.github.io/language-server-protocol/. The one from SoarTech is here: https://github.com/soartech/soar-language-server

amnuxoll commented 6 months ago

It's a cool idea but way out of scope for the shoestring budget we have...