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.
| File | What it holds |
|---|---|
src/main.ts | The arguments, the three commands, the exit codes |
src/unsafe/system.ts | The 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).