BIP Compiler

  • Software distribution and licensing: Public binary distribution
  • Software maturity: Well-tested software, good documentation
  • Software Maintenance and Evolution: Active maintenance, plans for future evolution

The BIP compiler allows the generation of executable code to simulate, execute, explore and debug BIP models. It is provided with execution engines which are runtime schedulers for the generated code.

 Installation

The BIP tools provided here consist of a compiler for generating code from BIP sources, and an execution engine used as a scheduler for executing the generated code. We currently target C++ code generation, but the tool-chain allows the use of multiple backends at the same time.

Notice that these tools are only provided for GNU/Linux systems. They are known to work correctly on Mac OSX, and probably other Unices, but we do not support them currently. Please contact us for specific installations.

The compiler requires Java VM, version 6. For compiling the generated C++ code, you also need a standard C++ compiler with support for the , and for the optimized engine and for the multithread engine. We strongly recommend to use the GNU compiler g++ version 4.8 or above (). The compilation of the generated code needs also .

If you use , to install all the dependencies required for the compiler you simply need to install packets default-jre, g++, cmake, e.g. using the following command in a terminal:

Quick install

Download the archive corresponding to the latest version of BIP, and matching your platform:

Extract it and source the ’setup.sh’ located at the root of the archive.

Check the .

Separate archives

If you can’t use the quick install, you can still download and install separate archives corresponding to the latest version of BIP:

  • Compiler: Download the archive containing the compiler . Follow the of the compiler.
  • Engines: Download also the archive containing the engine using the correct link matching your platform and your needs (see also ):
    • reference engine /
    • optimized engine /
    • multithread engine /

Try Hello World Example

Once the BIP tools are correctly installed, you can try the Hello World example of provided in the . Instruction for compiling this example can be found using the following link: .

All tutorial’s examples can be downloaded following this .

 Documentation

A full documentation for the BIP tools and language is available using the following links. Notice that the revision number of the documentation is different from the one of the tools (i.e. RC6.1 instead of RC6) since it was fixed recently ().

  • as
  • as
  • as .

This documentation contains:

  • a (syntax and semantics)
  • installation instructions for both the and the used for executing C++ code
  • a illustrating the main features of the language.

 Notes about revisions

More information about the revisions of the BIP compiler and engines can be found .

 Contacts

Please feel free to report bugs, problems, comments to: .

If you need to report a bug, please include (if possible) all the source files and a log of everything (compilation warnings/errors, execution trace, ...).

Former developers: Anakreontas Mentis, Marc Poulhiès


Contact | Site Map | Site powered by SPIP 4.4.29 + AHUNTSIC [CC License]

info visites 57070474