strict-script strict-script

Packages

@strict-script/cli

The strict-script command line: check, build, run. The commands and the exit codes are described in The command line.

strict-script check src
strict-script build src --out dist
strict-script run src/main.sts

The package holds no rule of the language: it finds the .sts files and what they import, hands their texts to @strict-script/compiler, and prints or writes what comes back.

FileWhat it holds
src/main.tsThe arguments, the three commands, the exit codes
src/unsafe/system.tsThe file system and the process: everything that may throw leaves there as a Result

It is written in TypeScript that passes strict-ts with no baseline (pnpm check).

Esc

    Type a word of the language, a rule, a command: mut, extern, match-not-covered.