1177 Commits (master)
 

Author SHA1 Message Date
Cédric Pasteur b2c88810c5 Make Heptagon API more uniform
Use a block instead of variable list + equation list
for contract and node.
The new program transformations based on the 
mapfold iterator are now enabled by default.
14 years ago
Cédric Pasteur e57c663f43 Do not forget to add created types 14 years ago
Adrien Guatto 4edc03c163 Mapfold_right for even nicer code. 14 years ago
Adrien Guatto 496919ff63 Yet Another Cosmetic Fix for normalization :-/ 14 years ago
Adrien Guatto 54ada380a1 Cleaner normalization of iterators' arguments 14 years ago
Adrien Guatto 8d07052a0f Inlining: warn when trying to inline iterators. 14 years ago
Adrien Guatto 9301ed0b09 Fixes for correct array literal C generation. 14 years ago
Adrien Guatto 3a0b1f9e16 New handy function for pretty-printing: wrap_print. 14 years ago
Adrien Guatto d75f4f8901 Added an option for global inlining (-flatten). 14 years ago
Adrien Guatto 1d6df4ecb2 Inlining pass added. Use with -inline. 14 years ago
Adrien Guatto 2ccdf677f0 Reworded Heptagon mapfold introductory message. 14 years ago
Adrien Guatto 2a72628f20 Stricter mk_longname. 14 years ago
Cédric Pasteur fac69ac2fa Remove controllables from parser 14 years ago
Cédric Pasteur aeca344db5 Automata with mapfold
It does not change much the code but at least
we can now see what is important.
14 years ago
Cédric Pasteur 2d10ef84df Present with Hept_mapfold
Seems so simple, I feel like I missed something...
14 years ago
Cédric Pasteur af2ea1f361 Compile fix
Always check that the code compiles before committing.
14 years ago
Cédric Pasteur da9b353e75 Shorter version of is_statefull 14 years ago
Cédric Pasteur bcc994fb9f No need to collect calls without params
There is no need to collect calls without parameters
as we only need the signature of the function and the code
will be generated when compiling the first file.
14 years ago
Cédric Pasteur ab5de4e769 Compatibility with Mac OS X
Default wc command in Mac OS X does not have
a '-L' option
14 years ago
Cédric Pasteur ac4e46eff9 Remove debug info 14 years ago
Cédric Pasteur 9f7c4da446 Added missing operator 14 years ago
Cédric Pasteur b6583f22b6 Complete fix for the identifiers problem 14 years ago
Cédric Pasteur d42e56203b Fix for identifiers in C
Instead of calling cname_of_name before creating 
the C ast, keep original names and convert them
when pretty printing the code.
14 years ago
Cédric Pasteur cdc9b14a44 Fixed problem with multidimensional arrays in args 14 years ago
Cédric Pasteur 27d5790a20 Do not forget iterators at instantiation time either 14 years ago
Cédric Pasteur 7f4a0954bf Also instantiate nodes called in iterators 14 years ago
Adrien Guatto 312f8085ce Test runner: fixed missing C99 option 14 years ago
Cédric Pasteur 778dfdb3f9 Do not loop forever during code generation
- Detect when the computation of the static exp
using simplif failed and abort.
- Added a better way to compute operators in
Static
14 years ago
Cédric Pasteur 3f7564aaa6 Fix for code generation
A node declared with node is statefull (so has a
context struct) even though it is empty. Use
the global_name ref to get the name of the current 
module.
14 years ago
Adrien Guatto b5ba524c3e Test runner: bug-fixes and updates 14 years ago
Cédric Pasteur 03f21cc612 Last done with Hept_mapfold 14 years ago
Cédric Pasteur 336b6eac00 Simplify a little Mls2obc
We don't need to return the memory vars as they
are already computed
14 years ago
Cédric Pasteur 66078effbd Added support for tuples in normalize
- (v1, v2, ... ) fby (e1, e2, ...) is translated to
(v1 fby e1, v2 fby e2, ...)

This has made the code even more complex. This will
need to be refactored at some point.
14 years ago
Cédric Pasteur f6d55712bc Revert "Normalize small tweak."
This reverts commit eb39fcffec.

This change is completely wrong (sorry Leonard ...)
14 years ago
Léonard Gérard eb39fcffec Normalize small tweak. 14 years ago
Léonard Gérard 57b1405731 Basic clocking port. 14 years ago
Léonard Gérard c3a3f954f4 Typing fix, if this line is actually useful.
(and 80 colons fix..)
14 years ago
Cédric Pasteur 94468cae5d Fixed iterators
We need to store the qualified name of the iterated node
14 years ago
Cédric Pasteur c8fb0a03dd Removed test for controllables 14 years ago
Cédric Pasteur a158977188 Fix examples with changes in lexer 14 years ago
Cédric Pasteur 0c1860ccbd Fixed problem with tuple consts in Mls2obc 14 years ago
Cédric Pasteur f8ecf3d76c Fixed Vars read function
When is_left is true, the variables to the right
of the fby should be ignored.
14 years ago
Cédric Pasteur f2559b5e87 Small refactoring 14 years ago
Cédric Pasteur f6ffea710d Comments for callgraph_mapfold 14 years ago
Cédric Pasteur 93fef027f0 Keep the list of static parameters in Obc 14 years ago
Cédric Pasteur aad8545055 Set the correct location for obj_dec 14 years ago
Cédric Pasteur 4f9d6b2d82 Added v_loc in Minils too 14 years ago
Cédric Pasteur 46a09cf369 Make Efield an op (as in Minils)
The fact that this commit mostly removes code proves
that this was a good choice.
14 years ago
Cédric Pasteur 62e216314d Fixed stupid bug 14 years ago
Cédric Pasteur 1c55689b18 Fixed name 14 years ago