Changelog:

  • Some optimizations for PCode;
  • Added the deletion of dead RCML code & non-reached RCML code;
  • Fixed syntax bugs with robot's vars: 
    • For robot functions: use of robot's vars is prohibited;
    • For user functions: use of robot's vars is prohibited in expressions; 
  • Fix bug with use the continue operator outside the loop;
  • Fix bug with try & catch into loop;
  • Rename UID to IID keyword (Interface identifier);
  • Added more deep optimizations for PCode (work time of compiler few increased);
  • Fix bug for the inadmissible indexes of commands of modules;
  • Added feature for throw & catch exception value;
  • Added PCode backward compatibility;
  • Added feature for the communicate RCML programs with OS through RCML interpreter:
    • Pass the command line params to params into main function;
    • Pass return value of main function to OS as exit code;
    • Pass exception to OS as exit code 1;
  • Updated syntax map.