Skip to content

Generate hazard files for different programming languages starting from an ontology

Notifications You must be signed in to change notification settings

SoftengPoliTo/hazard-generator

Repository files navigation

hazard-generator

This library generates hazards APIs starting from a JSON ontology. For a more in depth explanation about hazards have a look at the Hazard Documentation.

Supported Languages

This is the list of supported programming languages:

  • C
  • C++
  • Rust

A check indicates the languages for which API generation has been implemented.

Building

Use this command to build the library:

cargo build 

Testing

Testing has been performed via snapshots, using insta. Use the following command to launch the tests:

cargo insta test

To review the snapshots, use:

cargo insta review

The next command combines the previous two operations:

cargo insta test --review

About

Generate hazard files for different programming languages starting from an ontology

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages