Commit graph

12 commits

Author SHA1 Message Date
Léonard Gérard
9860e02f53 Small test for statics, params and consts. 2010-08-18 10:14:20 +02:00
Adrien Guatto
0bca1e210b New test with automata and arrays 2010-08-17 15:31:39 +02:00
Cédric Pasteur
8f4220e08d Made Eupdate dynamic
Modifying an array with
 [ a with [i] = v ]
should expected a dynamic (not static) value
for i (nothing happens if i is in the wrong range).
This is the same behaviour as in Scade and it is 
useful eg to modify an array in a foldi.
2010-07-28 12:34:07 +02:00
Cédric Pasteur
d3fea3aad3 Added test for alias types 2010-07-27 09:29:20 +02:00
Cédric Pasteur
6c8a83f8c4 Added test for foldi 2010-07-26 09:34:29 +02:00
Cédric Pasteur
493f49fe04 Added iterator fusion
For now it only deals with maps but it can be
easily extended. See test/good/itfusion.ept for 
examples of sequences that can be optimised.
2010-07-21 17:19:51 +02:00
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.
2010-07-15 17:58:32 +02:00
Cédric Pasteur
c8fb0a03dd Removed test for controllables 2010-07-15 13:23:55 +02:00
Cédric Pasteur
a158977188 Fix examples with changes in lexer 2010-07-15 13:22:42 +02:00
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
2010-07-09 13:27:06 +02:00
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)
2010-07-09 10:35:54 +02:00
Léonard Gérard
12251f960e Add lib/pervasives.epi, tests, tools 2010-06-21 12:11:06 +02:00