Status
What pin does today
This page lists what the repository tests and what it does not yet test. It describes the repository as it is. It makes no claims beyond that.
Tested
- JavaScript suites.
npm testruns 22 tests across the compiler, runtime and bundler packages. All pass. - Playground lessons.
node docs/check.mjscompiles every lesson on the tour. All compile. - Rust compiler suites.
cargo testincrates/pin-compilerruns the compiler tests. The spec suite is still being extended.
Not yet tested or not yet built
- Spec coverage. Not every scenario in the reference has a test. Section 33 of the spec lists this.
- Known gaps.
crates/pin-compiler/tests/known_gaps.rslists defects as ignored tests. Run them withcargo test --test known_gaps -- --ignored. - Editor support. None. There is no extension and no language server.
- Benchmarks. None against TypeScript. Compile time measured on the examples is for pin only.
- Package publication. The
@pin-langpackages are not confirmed as published. - Users. None are published.
Setup
Building from source needs Node.js 22.6 or later and Rust with the WebAssembly target. See get started.