e1de3e6829
Add support for reset
s
2022-12-20 03:51:28 +01:00
10838d3f2d
Remove TODO
in src/passes.ml:automaton_translation
...
As Antoine Grimod said that it was already done.
2022-12-19 17:45:33 +01:00
9a0bfd468c
Correct some typos
2022-12-19 14:06:18 +01:00
609870755c
Remove debugging symbols in failwith
...
As running `OCAMLRUNPARAM=b ./_build/main.native ...` provides in case of `failwith` a better stacktrace.
This enables moving `failwith`s from a file to the other without adapting them.
2022-12-19 13:56:48 +01:00
Arnaud DABY-SEESARAM
906a3d948b
[oups] forgot a pattern matching
2022-12-19 12:20:03 +01:00
Arnaud DABY-SEESARAM
249ac37934
[general] renaming, comments and removal of unused function in [pass_linearization_pre]
2022-12-19 12:18:21 +01:00
Arnaud DABY-SEESARAM
1d39173e94
[general] useless fn removed in pass_linearization_app + comments + print_debug in ast_to_c
2022-12-19 12:07:43 +01:00
Arnaud DABY-SEESARAM
4ff193759b
[passes] removal of constructs: seems ok
2022-12-19 11:22:16 +01:00
Arnaud DABY-SEESARAM
c52dce6c02
[passes] linearization: done for app, tuples (lvl 1 behind when) and pre
2022-12-18 22:34:07 +01:00
Arnaud DABY-SEESARAM
c344f125e5
[passes] linearization of tuple-equations + deletion of unused pass
2022-12-18 19:00:24 +01:00
dsac
0da0f58b22
[ast2C] proposition initiale
2022-12-17 16:01:48 +01:00
Antoine Grimod
ed54fd0114
clock unification added
2022-12-16 14:51:41 +01:00
Arnaud DABY-SEESARAM
b69b6998ec
[passes] linearisation: update the local variables + lienarisation of tri ops
2022-12-16 14:41:37 +01:00
Arnaud DABY-SEESARAM
57dd9c1aa4
[passes] linearozation: avoir duplication of variables
2022-12-16 14:16:13 +01:00
Arnaud DABY-SEESARAM
3417d75620
[passes] linearisation: correction (10 -> pre (20 -> 30)) works
2022-12-16 09:44:50 +01:00
Arnaud DABY-SEESARAM
c7a97f3305
[passes] linearization: merge fix
2022-12-16 09:00:03 +01:00
Arnaud DABY-SEESARAM
8d6349dd3f
Merge remote-tracking branch 'origin/master' into wip
2022-12-16 08:53:55 +01:00
Arnaud DABY-SEESARAM
d7f0f148e9
[pre linearization] done, not tested
2022-12-16 08:52:48 +01:00
dsac
9987922e0f
[passes] linearization of pre (wip)
2022-12-16 07:47:20 +01:00
Antoine Grimod
6af9ddf394
added pass to check validity of automata and disable flattening of automaton branch because of incorrect code resulting from it
2022-12-16 01:04:09 +01:00
Antoine Grimod
1b3af051b3
adding automaton translation pass to list of executed passes
2022-12-16 00:06:51 +01:00
b4ae058bf6
Remove unused variable new_locvars
in src/passes.ml
2022-12-16 00:04:57 +01:00
Antoine Grimod
21d2d0c9bb
fix type error in code
2022-12-15 23:48:02 +01:00
Antoine Grimod
de294df84a
Translation of automaton to lustre almost finished
2022-12-15 23:39:01 +01:00
dsac
eceeb3c157
[fix] identation error
2022-12-15 20:37:05 +01:00
ca271eaf66
Correct typos in src/passes.ml
and src/test.node
2022-12-15 20:13:18 +01:00
Arnaud DABY-SEESARAM
8582337774
[passes] pass to check the typing tags of the program / expressions
2022-12-15 18:33:04 +01:00
Arnaud DABY-SEESARAM
db5c584435
[passes] fix for the equation ordering pass
2022-12-15 17:40:15 +01:00
Arnaud DABY-SEESARAM
6459c54159
[passes] ordering equations
2022-12-15 17:11:19 +01:00
dsac
e75d525a6d
[passes] linearisation des équations
2022-12-15 09:13:28 +01:00
Arnaud DABY-SEESARAM
79f0c7d223
[passes] never redefine an input
2022-12-13 18:15:48 +01:00
Arnaud DABY-SEESARAM
f3416582be
[passes] correction of the check not re-init of variables
2022-12-13 18:08:11 +01:00
Arnaud DABY-SEESARAM
e5ac9a719d
[passes] check unicity of the assignations for each var
2022-12-13 15:55:21 +01:00
Arnaud DABY-SEESARAM
69b963c305
[gitfix] rebase fix
2022-12-13 15:04:53 +01:00
Antoine Grimod
bb017afe39
added automaton to ast
2022-12-13 15:03:41 +01:00
Arnaud DABY-SEESARAM
51ed84504f
[pre propagation] done.
2022-12-13 14:25:48 +01:00
Arnaud DABY-SEESARAM
c4ad75e4cb
[passes] auxiliary functions
2022-12-13 11:46:04 +01:00