Translation of automaton to lustre almost finished

This commit is contained in:
Antoine Grimod
2022-12-15 23:32:36 +01:00
parent bfca80bb8b
commit de294df84a
2 changed files with 153 additions and 18 deletions

View File

@@ -31,3 +31,8 @@ let expression_pass f: t_nodelist -> t_nodelist option =
equation_pass aux
exception PassExn of string
let counter = ref 0
let create_automaton_name : unit -> string = fun () ->
counter := !counter + 1;
Format.asprintf "_s%d" (!counter)