Progress with statement compiler and code generator