The tech command-line tool is your portal for executing, compiling, formatting, and analyzing TechScript code.
-V,--version: Print version information and exit.-h,--help: Print help details.
Executes a TechScript source file or compiled bytecode file.
tech run main.txs
tech run main.txcFlags:
--debug: Run VM with debugging telemetry enabled (shows instruction pipeline, stack pushes/pops).
Compiles a .txs source file into binary bytecode .txc.
tech build main.txs -o main.txcLaunches the interactive shell (Read-Eval-Print Loop).
tech replAuto-formats TechScript source code files following style rules.
tech fmt main.txs
tech fmt .Analyzes code for deprecated syntax, potential performance traps, and variable errors.
tech lint main.txsRuns all unit tests in the current package or directory.
tech testLaunches TechScript Studio IDE.
tech studioRuns an inline snippet of code.
tech eval "say 5 + 10"