Gwenaël Delaval
faf707db4a
Added test for bug [ #14076 ] (initialization analysis)
...
Bug [#14076 ]:
node sum(x:int) returns (y:int) let y = x + (0 fby y); tel
node main(x : int) returns (y : int)
let
y = 0 -> sum(pre x);
tel
is accepted whereas the node "sum" will memorize an absent value (pre x)
and use it at next instant.
Removed auto2.ept (duplicate of auto.ept)
2017-03-17 15:15:27 +01:00
Gwenal Delaval
6011353cec
Added test of options
...
Added script test_option which:
- compile and run without option
- compile with option given as argument, run
- diff on the two outputs, fails if different outputs
config file checks for existence of compiler (fails if not exist)
statics1.ept is a copy of statics.ept ; statics2.ept depends on statics1.ept
instead of statics.ept (so as dependency order => lexical order on file names)
2012-07-19 15:23:40 +02:00
Cédric Pasteur
6ba0e7b2b3
Don't remove local variables in causality
...
A dependency between two variables can be caused
by a local variable
2011-10-26 16:14:02 +02:00
Cédric Pasteur
1aac6f7be4
Fixed bug in unicity check in linear typing
...
Test case included
2011-10-07 11:59:13 +02:00
Cédric Pasteur
9427117fe1
Fixed linear typing of accumulators
2011-09-09 11:29:24 +02:00
Cédric Pasteur
7bf5f3f323
Fixed typing of iterator
2011-09-08 14:10:55 +02:00
Cédric Pasteur
2105d7ad18
Fix for linear types and automata
2011-09-08 10:45:19 +02:00
Cédric Pasteur
69a5ad8df8
Fixed code generation of n-dim static arrays
...
Also added some tests.
2011-07-21 11:19:07 +02:00
Cédric Pasteur
7d95b95ed7
Merge branch 'memalloc' into decade
...
Conflicts:
compiler/global/signature.ml
compiler/heptagon/analysis/typing.ml
compiler/heptagon/hept_printer.ml
compiler/heptagon/hept_utils.ml
compiler/heptagon/heptagon.ml
compiler/heptagon/parsing/hept_parser.mly
compiler/heptagon/parsing/hept_parsetree.ml
compiler/heptagon/parsing/hept_scoping.ml
compiler/heptagon/transformations/switch.ml
compiler/main/hept2mls.ml
compiler/minils/minils.ml
compiler/minils/mls_printer.ml
compiler/obc/c/cgen.ml
compiler/obc/control.ml
compiler/utilities/misc.mli
2011-07-21 08:50:45 +02:00
Léonard Gérard
b73e6502a6
resets are now without constraint.
2011-05-26 15:56:59 +02:00
Léonard Gérard
1d6feeef54
some more tests
2011-05-26 15:56:59 +02:00
Léonard Gérard
96272339e4
some tests.
2011-05-26 15:56:59 +02:00
Leonard Gerard
88497a2da3
parsing clocks.
2011-05-26 15:56:58 +02:00
Cédric Pasteur
caa149ac39
Tests for memory allocation and linear typing
2011-05-25 09:12:15 +02:00
Léonard Gérard
8f4411e145
Recursives Qualnames.
...
In order to have a correct handling of inner classes in Java, and to prepare for modules inside modules.
2011-02-07 14:24:17 +01:00
Léonard Gérard
a832cc5c25
Small clocking test
2011-01-05 15:50:01 +01:00
Léonard Gérard
207de4d6e7
Added some tests.
2010-12-15 11:26:30 +01:00
Léonard Gérard
bdcdbddb09
Added initialization bad tests and correct good/t1
2010-10-08 14:53:24 +02:00
Léonard Gérard
12251f960e
Add lib/pervasives.epi, tests, tools
2010-06-21 12:11:06 +02:00