[ast2C] support for some basic operations (exemple in test.node)

This commit is contained in:
dsac
2022-12-17 23:36:07 +01:00
parent cbc834b32a
commit 7a32d474d4
6 changed files with 78 additions and 44 deletions

View File

@@ -29,10 +29,10 @@ type node_state =
nt_nb_int : int;
nt_nb_real: int;
nt_nb_bool: int;
nt_map_int: (t_var * bool, int) Hashtbl.t;
nt_map_bool: (t_var * bool, int) Hashtbl.t;
nt_map_real: (t_var * bool, int) Hashtbl.t;
nt_map: (t_var * bool, string * int) Hashtbl.t;
nt_map_int: (ident * bool, int) Hashtbl.t;
nt_map_bool: (ident * bool, int) Hashtbl.t;
nt_map_real: (ident * bool, int) Hashtbl.t;
nt_map: (ident * bool, string * int) Hashtbl.t;
nt_output_map: (int, string * int) Hashtbl.t;
nt_prevars: t_var list;
nt_count_app: int;