inscript

Language reference

One line, one statement.

An Inscript source file is plain text. Each line is a readable program sentence.

remember a number called score with 75
choose if score is above 90: show "excellent" otherwise if score is above 50: show "passing" otherwise show "needs work"

Indented action blocks are used for event handlers, where a top-level sentence registers a reaction and the block defines its actions.

when payment is received:
    show "receipt sent"
    finish