Commit graph

20 commits

Author SHA1 Message Date
Léonard Gérard
c4a926f489 Correct Mapfold !! Or at least much more than before.
Still not sure whether the notion of main_nodes is correct.
A parametrized node not used right in the module gets removed.
Is that the wanted behaviour ?
2010-08-24 11:07:05 +02:00
Adrien Guatto
fb678481ce Test-case for case-local name clashes 2010-08-20 11:27:16 +02:00
Léonard Gérard
9860e02f53 Small test for statics, params and consts. 2010-08-18 10:14:20 +02:00
Léonard Gérard
a9066fc1f9 $id$ removed. 2010-08-17 23:30:27 +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
Léonard Gérard
5e737d0094 location change. Heptc works with menhir. 2010-07-21 15:15:57 +02:00
Adrien Guatto
312f8085ce Test runner: fixed missing C99 option 2010-07-16 12:13:40 +02:00
Adrien Guatto
b5ba524c3e Test runner: bug-fixes and updates 2010-07-16 11:19:56 +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
Adrien Guatto
6b4881ccd0 Revamped testing framework 2010-07-02 16:03:04 +02:00
Cédric Pasteur
5f1b63b33a Fix bug with locations 2010-06-24 04:55:15 +02:00
Léonard Gérard
12251f960e Add lib/pervasives.epi, tests, tools 2010-06-21 12:11:06 +02:00