Interpreter pipeline
Readable does not mean loose.
Inscript reads a sentence the same way regular programming languages read code — in clear, defined steps.
Inscript uses a normal interpreter pipeline. The prose is bounded, parsed, analyzed, and executed.
- ReaderLexerSplits the sentence into individual words.Turns text into tokens.
- TidierReordererSmooths over harmless differences in phrasing.Normalizes safe English variation.
- BuilderParserFigures out the shape of what you wrote.Builds the executable structure.
- CheckerSemantic analyzerVerifies the names and values make sense.Checks names, types, and legality.
- RunnerInterpreterActually carries out the sentence, or remembers it for later.Executes the statement or registers handlers.
Inscript always shows you what it understood your sentence to mean before doing anything. That is part of the deal: you can see, and trust, what is about to happen.
The canonical preview is part of the trust model: users see what Inscript understood before it acts.