mirror of
https://github.com/AdaCore/sarif-ada.git
synced 2026-02-12 13:53:12 -08:00
main
Rename VSS occurences to vss-extra Closes #8 See merge request eng/ide/sarif-ada!12
SARIF Ada
An Ada library generated with the JSON Schema for Ada tool for parsing and producing SARIF reports.
SARIF types and I/O subprograms
The program gen_json generates the necessary types and procedures to
process SARIF files.
It generates all the necessary code from the official SARIF JSON Schema file
sarif-schema-2.1.0.json downloaded from the official
source.
Generating the code
Have a working Ada environment, with gnatchop and gnatpp binaries (present
by default in GNAT toolchains) and alr available in your PATH
(you can download Alire here).
Then you will need to build the gen_json tool from the
vss-extra repository,
and make it available in your PATH environment variable.
Here are the instructions to achieve that:
git clone https://github.com/AdaCore/vss-extra.git
cd vss-extra/tools/json_schema
alr build
export PATH=`pwd`/../../.objs/tools:$PATH
Now you can generate the code with a single make generate command.
Description
Languages
Ada
99.9%