Handling boolean expressions
PL/M source code oo: do; /* This is a demo of context sensitive boolean expressions translations. declare v1 byte , v2 word , v3 dword ; v1 = 0; /* conversion of True and False conventions */ /* context sensitive translations of the logical operations */ if v1 and v2 then v3 = not (v1 and v2); end;
|
Translated C source code #include "..\C\builtin.h" /* This is a demo of context sensitive boolean expressions translations. static BYTE v1;
main() |