🧑‍🎓
Training Resources for Atelier B
  • Introduction
  • Guides and Tutorials
    • Installation
    • Training Videos
    • Training Slides
    • Applying the B Method
      • Project Creation
      • Code Generation
      • Mathematical Proof
        • 🔥Writing Mathematical Rules
          • Introduction
          • Introduction to the Theory Language
          • How to write mathematical rules
          • Using Automatic Prover Mechanisms
          • Guards in a nutshell
          • Normalisation of Expressions
          • Common pitfall
          • All guards in the theory language
    • Extending Atelier B
      • Syntax
      • Examples
    • Programming the CLEARSY Safety Platform
  • Examples and Case-studies
    • Fuel Level
    • Switch
    • Security Policy
    • Verified Software Competitions
  • Additional Resources
    • Glossary
    • References
    • Frequently Asked Questions
Powered by GitBook
On this page

Was this helpful?

  1. Guides and Tutorials

Extending Atelier B

This page describes the extensibility features found in Atelier B 4.

Atelier B 4 allows running “external tools” from within the GUI. Several kinds of external tools can be integrated:

  • project external tools. Those tools are running on a project, and appears in the “Project” menu of the GUI. For instance, they can be used to provide metrics on a project

  • component. Those tools are running on a component, and appears in the “Component” menu of the GUI. They are launched on the selected component(s)

  • po. Those tools are running on a selected proof obligation in the interactive prover

  • goal. Those tools are running on the current goal of the interactive prover

Integrating an external tool is done by writing a “.etool” xml file.

This file describes the type of tool, as well as the command that will be started. This file should be located in the “extensions” subdirectory of the Atelier B installation, and is loaded when the Atelier B GUI start.

For each “etool” file, a corresponding menu entry is created within the “Project” or “Component” menu of the GUI.

When the menu is clicked, the tool is launched, and the corresponding task appears in the “Tasks” window of Atelier B. Double-clicking on the task displays a windows showing the output of the tool. The complete syntax of the “.etool” files is first described. Then some examples are presented.

PreviousAll guards in the theory languageNextSyntax

Last updated 1 year ago

Was this helpful?