Import

Import from another platform

The editor has an experimental source conversion for a limited subset of scripts written for other platforms. Only a small tested subset converts; anything else is refused with a reason, and a refused script is not saved.

In the editor it is labelled as an experimental source conversion of a limited subset. A typical script pasted from another platform is refused today. Before a converted script can be saved, you read and accept its notes.

Status of the area in the internal register, as last scored before the release: PLANNED at its lowest item. VERIFIED 2 IMPLEMENTED 3 PLANNED 1

What a converter does

  • It reads the text of a script and maps each construct it recognises to the form Cuprel uses.
  • It keeps the author's own notices in the output.
  • Where it cannot map something, it says so and marks the place. It does not guess in silence.
  • It produces a report next to the converted script.

What it does not do

  • The chart does not run foreign scripts. There is one language at run time.
  • No engine of another platform is shipped to your browser.
  • It does not promise that a script converts. Most do not.
  • A converted script is a new Cuprel script, not a copy of the original program.

Separate measures

A conversion is described by the measures below. They are reported apart and never merged into one figure. No percentage is published on this site.

What each measure counts
MeasureWhat it counts
ConvertedConstructs the converter mapped to Cuprel forms, as against those it left marked.
CompiledWhether the converted script passes the checks of the current language without errors.
Behaviour comparedWhether a run of the converted script on named data and settings gives the same marks, alerts and simulated trades as a recorded reference run of our own engine.
Needs manual reviewPlaces the converter flagged for a person to read, with the reason.

What identical means

When behaviour is called identical here, it means identical to a recorded reference run of our own engine on the same data and settings. It is not a statement about any other product.