JavaScript scripting in UPoC

JavaScript and Python UPoC are supported.

  • The JavaScript engine that is used is Nashorn.
  • The Python interpreter that is used is Jython. This is an implementation of the Python programming language designed to run on the Java platform.

These are provided fully configured.

In the engine, hcitpstest is supported.

Other support includes:

  • Non-beta class names are automatically shown as javascript/python in the GUI.
  • The scripts themselves directly migrate.
  • For engine productization, there is an independent test tool that is the equivalent of hcitcl.
  • In debugging, Python has special instructions for getting the engine stdin.
    • Step is supported.
    • Python commands print and update variables.
  • For GUI productization, there is a GUI syntax editor.
  • The GUI debugger is similar to the Xlate debugger, containing highlight/breakpoint/debug panels. Python has a built-in interpreter.