Seal export lustre
Work in progress: higher level constructs for lustre elements
Contract printer cocospec
No space before contract kwd
Printing trailing zeros in real constants
Export cocospec contract
Output folder for seal-extract
Seal-export to a new file
seal-export: produce the output as well. Could be simpler
Seal-extract: first serious version. Guards are gathered as a single expression
Updated version seal-extract
Working version of seal-extract. Heavy load on z3.TODO: improvement through memoization
Corelang function: push_negations that propagate negations in leafs of the expression
Better extraction in lustrev-seal
Zustre: Bug solved in const injection for reals
Addressed a TODO in MCDC Pathconditions: simpler condition for single expression
- More systematic translation for mutation- copy_var_decl now keeps the generated type
Mutation translates now ids in cocospec import
minor bugs solved in printer: guarantee vs guarantees in cocospec. Imported node shall not be printed as regular code since it is not part of the grammar yet. Kept them as comment.
keep the open top declaration when loading a module. It may be useful later when producing a lustre file
lustret: do not reload opened modules when generating the mcdc output
lustrev seal: ongoing work on extraction as dynamical system. Still not working yet
lustrev: removed the check of no dependencies
comestic changes, removing useless logs
Merge branch 'ada' into lustrec-seal
Solved issue btw mpfr and conv functions (int_to_real was not handled)
Solved scopes print order
Ada: Start cleaning Ada to prepare for why beckend
Merge branch 'ada' of https://cavale.enseeiht.fr/git/lustrec into ada
Ada: Lot of specification is exported in Ada. We use ghost code to store all states,we generate the transition pridicate but also the invariant. But two problems, occured.The first one is a visibility problem for the record which is private but must bepublic for ghost variable which have to be public for specifaction. The second...
doc: use SVG format instead of PNG for dependency graph
Doc: update rule and remove old module in odocl
Ada: First support for transition predicate generation.
Machine_code: Make a correction in the arrow machine creation : use the same polymorphic type in variables and values.
Ada: Correct some errors in printing
Ada: Refactor Ada Backend to reduce redundancy, make it more modular and more simple.
Merge branch 'lustrec-seal' into ada
Ada: Correct ada main to handle statelles top level node
rev machines in emf
JSON EMF
more explanation in case of failure. Still dirty
Better JSON for EMF backend
Resolved sort order of nodes
Ada: - Correct the merge with lustrec-seal - Improve support for builtin function(still work to do) - Add generation of a gpr file for lib(without main). - Add var initialisation in the reset, still work to do.
Cocospec: parsing, normalizing and processing machines for contracts.
Better EMF output, solved some invalid JSON produced
Cleaning C backend - removing unused functiionsPreparing for coming ACSL
Merging branches, disabling the specification print in Ada backend. Should be re-enabled at some point
Minor modif on seal
Reorganizing folders
Merge branch 'salsa' into lustrec-seal
Reformating plugin signatures. Better report management
Better production of trace files.By default traces are not produced. Requires the option -t to produce them
Serious refactoring of scopes plug-in:- now properly records the scopes- only register requested ones
Merge branch 'unstable' into salsa
bug solved: issues with main node input access when using scope plugin
Ada: Correct branch exporting to handle boolean match(using an ada if)
Ada: Improve input/output of main ada file
New -salsa-disable option
num as a package
Ada: Add pretty printer for case
Some progress on compiling cocospec contract.Contract resolution still need to be done as well as dealing with the machine code level and so on.
Ada: Some indentation
Ada: Add generation of step calls and refactor prototypes and ads printing to handle staless instance.
Ada: Refactor the instantiation code and instance code, instead of passing the machine listto the pp_file and all subfunction in adb generation we pass a list of typed instance whichcontains the submachines directly with the instance name and the substitution.
Ada: Corrections of some bugs discovered with lustrec-tests
Ada: Add readers and printers for main.adb to match c tests.
Ada: Add the prefix ada for variable named with an Ada reserved name.
Ada: Correct contract printing
Ada: Correct the subcalls to reset for node with polymorphic type(like arrow)
Ada: Correct state print for variable assignement
Ada: Add a pp_with for general with ada statement
Ada: - Replace MStep and Mbranch output by Null to have compilable Ada. - Correct pp_value to print state access when the variable is memory
Ada: Removed useless function
ada: pretty print assignment statement for state
Ada: Start exporting spec
Ada: pretty printing functions for values and assignments in adb
Ada: Correct some errors on the type checking due to polymorphic type.
Ada: Removed from adb the print of clear and init.
Merge branch 'lustrec-seal' of https://cavale.enseeiht.fr/git/lustrec into ada
Ada: Change some loggging feature
Ada: Add new function to print package name from node spec to be called by adb backend.
Ada: Add support for arrows as an independent generic package, instantiated in each package using it. It required a lot of refactoring.
Ada: typo
fix conflicts
Ada: pretty printing of reset function
Ada: Remove generation of init and clear and some refactoring around prototype.
Ada Change private to limited private for State type package.
Ada: first pretty printing functions for adb
Ada: Temporary change
Ada: Add local variable declaration for step
Ada: Last correction was incorrect
Ada: Correct a bad copy-paste
Ada: Add the generation of the wrapper file : the main ada file and the project. It is calledonly if the main node option is given to lustrec. This feature implied some refactoring. Alsoadded some OCaml Doc to undocummented functions.