First run
Run a readable program.
The fastest way to understand Inscript is to read a program before you run it.
Save this as demo.insc:
gather the numbers from 1 to 10
filter the numbers where each is above 5
combine the numbers
Run it from the repository:
python -m inscript demo.insc
Expected output:
I understand this as: gather the numbers from 1 to 10
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
I understand this as: filter the numbers where each is above 5
I understand this as: combine the numbers
40
Amber state: Inscript shows what it understands before it executes. When a sentence is valid but potentially surprising, the interpreter pauses for confirmation instead of pretending ambiguity is harmless.