I think it was broken so I fixed it

This commit is contained in:
Meyer Simon
2025-05-04 14:30:04 -04:00
parent 18b5daea0e
commit 4ae76d0341
4 changed files with 57 additions and 66 deletions

View File

@ -6,19 +6,24 @@ type main: string -> integer
function entry: main
function bar: T2
(*
bar (r,s) := {
return 0;
}
*)
entry (arg) := {
[ Boolean:x ; Boolean:y ; Boolean:z ; Boolean:t]
if ( !( x < y ) & ( z & t ) ) then {
(* if ( result < w.y ) then {
result := 8;
if ( ( x < y ) (* < ( z & t )*)) then {
(*
if ( x<y & !(x=y) ) then {
t := 8;
} else {
result := 9;
} *)
z := t;
}
*)
z := 9;
} else {
y := true; (* bar('c', 7); *)
}