1177 Commits (master)
 

Author SHA1 Message Date
Cédric Pasteur a188952ef6 Ported Normalize (not tested yet) 14 years ago
Léonard Gérard c657ce8ecb Schedule with the iterator and eqs/var_decs added in mapfold. 14 years ago
Léonard Gérard 57751992c0 Rebase done : Mls re-ported. Mls_mapfold and mls_utils updated. 14 years ago
Léonard Gérard be7bdc7f27 Mls printer ported. 14 years ago
Léonard Gérard 469e5b86cd A much better and efficient completion_mapfold. 14 years ago
Léonard Gérard ce4f1916da interface_format_version bump ! 10.... 14 years ago
Léonard Gérard 1c2929078d Small tweaks on the hept_mapfold and comments. 14 years ago
Cédric Pasteur 5440a073d6 Fixed generation of C code 14 years ago
Cédric Pasteur 73bd2d080e Correctly set the name of generated nodes 14 years ago
Cédric Pasteur 0d9a35a8b6 Fixed Callgraph_mapfold 14 years ago
Cédric Pasteur dab569d8ad Add missing case for ifthenelse 14 years ago
Cédric Pasteur ee767064b1 Instantiation of parametrized nodes (v2)
- Many changes to make Hept2mls, mls2obc, etc
compile with the api changes
- Added Callgraph_mapfold: starting from a main
program, generates the list of instances of each
node necessary and creates them.
- Mls2seq deals with giving to the code generators
the correct source (mls or obc, wit or without
static parameters)

It is now possible to use parametrized nodes that 
are defined in other files. For that to work, the 
first file has to be compiled to an object file:
	heptc -c mylib.ept
which creates a mylib.epo file. Compiling the main
file will then generate all the instances of 
parametrized nodes from the lib (only the called 
nodes will be compiled, but all the nodes in the 
main file are compiled).
14 years ago
Cédric Pasteur b8f69492b9 Add mapfold for other types in Signature 14 years ago
Cédric Pasteur 4598b29ad2 Forgot to move this file too 14 years ago
Cédric Pasteur e2af987967 Compile fix 14 years ago
Cédric Pasteur 30a78632d2 Fix the order of args in the signature 14 years ago
Cédric Pasteur eb85bfd282 Fix for tuple consts in Initialization
We also need a skeleton fun for consts as there 
can be a const tuple 

TODO : do the same in Clocking ??
14 years ago
Cédric Pasteur 89249e8252 Fix for Initialization
Make eg 0 -> (pre x + 1) legal. This is a temporary 
fix until safe/unsafe functions are correctly handled.
14 years ago
Cédric Pasteur c5184b5d66 Booleans can be used in a switch 14 years ago
Cédric Pasteur eb625cd5d7 Fix operator args (some args have become static) 14 years ago
Cédric Pasteur af0d28fda0 More refactoring of reset
Use exp option to store resets instead of introducing
a new type.
14 years ago
Cédric Pasteur f752f895ce Reset_mapfold
- Also refactored most of the code (why the hell
would anyone use arrays to iterate over lists 
with an index ?!?)
14 years ago
Cédric Pasteur 9e7c013fe2 Completion_mapfold
- Added it_gather combinator to create simply
a version of an iterating function using a gather
to combine accumulator values

Completion_mapfold and every_mapfold seems to work
14 years ago
Cédric Pasteur e7bd251b35 Added Global_mapfold and Mls_mapfold
- Global_mapfold is used to iterate over types
defined in Types or Signature (the iterators 
from Types were moved here)
- Mls_mapfold to iterate over Minils AST (we
do not iterate over clocks yet: is it useful ?)
14 years ago
Cédric Pasteur 87cb705fcb Added some tests file
- Arrays, parametrized nodes
- hierarchie.ept is a node with nested automaton
(generated a lot of variables, good test for 
performance)
14 years ago
Cédric Pasteur 3153a8f241 Add missing cases 14 years ago
Cédric Pasteur 3bf2d82d45 Make sure to run check_type on every
Types declared by the user must be checked (this
will also replaced names with the correct longname).
14 years ago
Cédric Pasteur 03b792a220 Fix for scoping 14 years ago
Cédric Pasteur ad2594ebfa Cgen compiles 14 years ago
Cédric Pasteur 23e232cd1f Rewrite Every using Hept_mapfold 14 years ago
Léonard Gérard 000dc91d69 Heptagon and Types mapfold. 14 years ago
Cédric Pasteur 226ddd5c28 Updates for Obc 14 years ago
Cédric Pasteur b0a5a7f13e Heptcheck compiles !! 14 years ago
Cédric Pasteur 68ecd0e781 Added consts in the signature of a module 14 years ago
Léonard Gérard 5baa30f7c1 Last refactor ? and hept_mapred shows in ! 14 years ago
Cédric Pasteur 0e224bf368 Port Static to recent api changes 14 years ago
Cédric Pasteur 587ed634ea Updated Obc Ast 14 years ago
Cédric Pasteur 72ee834641 Proposition for improved Obc AST 14 years ago
Cédric Pasteur 3690585710 Added static records in static_exp 14 years ago
Cédric Pasteur 0b253d22db typing_static_exp should return the static exp
We need to return the static exp because we have 
to replace constructor with their longname.
14 years ago
Cédric Pasteur cee9eed24a Moved sequential/ to obc/ 14 years ago
Cédric Pasteur 662e81d810 Add location and type to static exps 14 years ago
Cédric Pasteur 2fd0860ba8 Renamed Scoping and Parsetree 14 years ago
Cédric Pasteur 7ed81a8950 Moved Obc_printer to a separate file 14 years ago
Cédric Pasteur 978313de1e Moved sequential to compiler/ dir 14 years ago
Cédric Pasteur 24cea56666 Add support for any type of constants 14 years ago
Léonard Gérard 5cc57cd3b0 Static_exps should be in types. field name of ops is a param. 14 years ago
Cédric Pasteur 037f9be664 Remove unused code 14 years ago
Cédric Pasteur 769cb1d881 Updated ast for Static
- Static are used for consts in Heptagon and Minils.
For now, node static parameters remain int only
(ie they are type parameters). Do we need more ?
- Also updated Parsetree AST to the recent changes
in API
14 years ago
Cédric Pasteur c46896ca55 Same api change in Heptagon as in Minils 14 years ago