The structure of a TE program is as follows:
main
{ statement_block }
endmain
{ function_block }
All programs must have a main…endmain block and include optional decaration_block, statement_block and function_block.
The smallest and most useless (but syntactically correct) program is the following:
// Totally useless but syntactically correct
main
endmain