A JavaScript to native compiler and runtime
npm install takoscriptA JavaScript to native compiler and runtime.
``bash`
npm install -g takoscript
Requirements:
- Rust 1.85.0+
- LLVM 21.1
`bashInstall Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Usage
$3
`bash
tako run script.js
`$3
`bash
tako build script.js -o output
`$3
`bash
tako test
`Commands
| Command | Description |
|---------|-------------|
|
tako run | Run JavaScript file with interpreter |
| tako build | Compile to native executable |
| tako test [--aot\|--run] | Run test suite |
| tako test262 | Run ECMAScript test262 conformance tests |
| tako test-node-compat | Run Node.js compatibility tests (allowlist/skiplist) |
| tako bench | Run performance benchmarks with optional regression check |
| tako version` | Show version info |MIT