/cli

Sentient Lang.

--exposed

The ‘exposed’ option prints information about exposed variables:

$ sentient --exposed program.json
{
  "a": {
    "type": "integer",
    "minimum": -128,
    "maximum": 127
  }
}

This option is useful to find out which variables are exposed so that they may be assigned. It is also useful to see what range of inputs they can take. If a range needs to be extended, the only way to do so is by recompiling the source program.

Programs must be compiled before ‘expose’ can be used. This option takes precedence over run and source.