CUBLOC supports interpreter-based BASIC language. The source code written by user is not directly translated to Machine-code. It will convert to Byte-Code. Byte-Code will download to Flash memory on CUBLOC module.
CUBLOC RTOS interpreting this BASIC Byte-Code at the execution.
This method is a little bit slow but I had to do it this way. because CUBLOC support BASIC and Ladder Logic at the same time.
BASIC could not exclusively have all control. Which means CUBLOC RTOS has control and BASIC was under control.
That is why I selected BASIC-interpreter.
It is very similar JAVA. JAVA compiler make Byte-Code. Byte-Code will execution by JVM (Java virtual machine).