GSN Assurance VSCode
This extension includes a grammar and a corresponding language server that facilitates syntax highlighting, grammar checks, and code completion for the GSN Assurance Language. This language is a Domain Specific Language (DSL) based on Goal Structuring Notation (GSN).
In addition to the textual DSL, the extension offers a graphical editor that displays the GSN models as Directed Acyclic Graphs (DAGs).
This extension requires a Java 8+ installation available in path as
A GSN model consists of one or more
Below, there is a simple example illustrating some entity types (goal, strategy, context). To begin, create a folder named
For more examples check out the sample-models under the repository root.
After opening the file in VSCode, granted this extension is installed and functioning correctly, keywords and symbols will be highlighted in accordance to your current theme.
Make sure the file has been saved, then bring up the command panel (
You can continue to expand on the model using either the graphical editor or the textual editor. Changes made in either
perspective within the same VSCode instance will automatically be reflected in the other. (Edits in the textual
These videos were recorded using v0.11.2 of the extension.
Public Release History
This work was supported by the DARPA Assured Autonomy program and Air Force Research Laboratory. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of DARPA or AFRL.