Leonardus
OPERATORS

A list of the LeoScript operators.

The definitions for the operator list use OTCode with following extensions:

  • z can be I or R or Q
  • X can be any object
  • E represents the empty operand stack
  • | is used to represent $ OTCode_1\ or\ OTCode_2 $ e.g. A|Ax

The operators can be divided into following sections:

Differences to the Red Book

The following operators and objects aren't implemented by design:

  • graphics device and grapics output
  • packed arrays including packedarray, setpacking, currentpacking
  • maxlength
  • globaldict and $error dictionaries
  • resource operators
  • virtual memory operators
  • cvrs

The following operators aren't implemented due to the open option to
improve the features they offer or the alternative option of a fundamentally
different approach:

  • start, stop and stopped operators
  • string parsing within the interpreter: token operator, cvi for strings, cvr for strings, exec for strings
  • most of the file operators
  • executive, prompt, echo
  • the access architecture with operators: executeonly, noaccess, readonly, rcheck, wcheck
  • all interpreter parameter operators