Skip to content

Pare 0.5.0

Pre-release
Pre-release

Choose a tag to compare

@sbeparey sbeparey released this 17 Oct 07:20
· 251 commits to main since this release

Upgrading from 0.4

  • Nothing to change: no breaking changes.

Changes

  • libpare: the stripper as a C shared library with pare.h, for other languages over FFI
    (Rust, Go, Python ctypes, Ruby, PHP, Node or Deno FFI). UTF-8 in and out, diagnostics with
    line, UTF-16 column and byte offsets, thread-safe. README "C library".
  • Faster: checker.ts 13.3 -> 9.4 ms (235 -> 333 MB/s), the real-world corpus 75 -> 60 ms
    (218 -> 273 MB/s). Output and diagnostics are unchanged on all 15,462 corpus files. ASCII fast
    path for identifiers, trivia skipped on a local position, the stack checked every 16th
    recursion. Nesting too deep for the stack still fails with a syntax error, now with a test.
  • CLI: built with OptimizationPreference=Speed, and reads each directory once when walking
    (it read each twice). pare .corpus/realworld --check-only 0.60 -> 0.35 s.

Downloads

  • pare-0.5.0-<rid>.tar.gz / .zip: NativeAOT pare CLI for osx-arm64, osx-x64, linux-arm64, linux-x64, linux-musl-arm64, linux-musl-x64, win-x64, win-arm64.
  • libpare-0.5.0-<rid>.tar.gz / .zip: the C library (libpare.dylib, libpare.so, or pare.dll with pare.lib), pare.h, license, for the same 8 RIDs.
  • Extrode.Pare.Cli*.nupkg: the .NET tool (pointer, any, per-RID).
  • Extrode.Pare, Extrode.Pare.Build, Extrode.Pare.AspNetCore 0.5.0 .nupkg (not on nuget.org yet; README "Restoring without nuget.org").