[ast2C] printer: ok.

This commit is contained in:
dsac
2022-12-18 13:38:40 +01:00
parent ce686f6c9a
commit 1491e279f7
4 changed files with 58 additions and 24 deletions

View File

@@ -5,9 +5,11 @@ let
tel
node n (i: int) returns (o1, o2: int);
var t1, t2: int; c: bool;
var u1, u2, t1, t2: int; c: bool;
let
c = true -> not pre c;
(t1, t2) = aux (i) when c;
(o1, o2) = aux (i);
(u1, u2) = aux (i) when (not c);
o1 = merge c t1 u1;
o2 = merge c t2 u2;
tel