Heptagon is a synchronous dataflow language whose syntax and semantics is inspired from Lustre, with a syntax allowing the expression of control structures (e.g., switch or mode automata).
Heptagon is also a research compiler, whose aim is to facilitate experimentation. The current version of the compiler includes the following features:
- Inclusion of discrete controller synthesis within the compilation: the language is equipped with a behavioral contract mechanisms, where assumptions can be described, as well as an "enforce" property part. The semantics of this latter is that the property should be enforced by controlling the behaviour of the node equipped with the contract. This property will be enforced by an automatically built controller, which will act on free controllable variables given by the programmer. This extension has been named BZR in previous works.
- Expression and compilation of array values with modular memory optimization. The language allows the expression and operations on arrays (access, modification, iterators). With the use of location annotations, the programmer can avoid unnecessary array copies.
Heptagon is developed in the Parkas (ENS) and Pop-Art (LIG/INRIA) research teams.
How to get it or try it
Download
Heptagon can be freely downloaded here.Technical requirements
The use of the Heptagon compiler by itself does not require any additional tools. However, the usual use involves a compiler for the generated code (target languages are currently C or Java). The tools below are optional or are related to some subparts of Heptagon:- The graphical display tool sim2chro can be obtained from Verimag. It can be used together with Heptagon's graphical simulator.
- Sigali, the controller synthesis tool, developed by the Espresso and Vertecs team at INRIA Rennes.
Contact
Please contact us for further information.Main participants
Gwenaël Delaval | Assistant Prof. at UJF | +33 4 76 61 54 31 | web | |
Léonard Gérard | PhD student at ENS | |||
Adrien Guatto | PhD student at ENS | web | ||
Hervé Marchand | Researcher at INRIA | +33 2 99 84 75 09 | web | |
Cédric Pasteur | PhD student at ENS | web | ||
Marc Pouzet | Professor at ENS | web | ||
Eric Rutten | Researcher at INRIA | +33 4 76 61 55 50 | web |