Generate the CBN language block in Prologue-Body-Epilogue format

Prologue-all local variable declarations
Body - CBN body
Epilogue- statements that assign the local back to global