Skip to content

v0.2.0

Choose a tag to compare

@pankgeorg pankgeorg released this 10 Nov 20:11
· 1 commit to main since this release
965078d

Install (Node ^22.23.3 or ^24.22.1, Prettier 3):

npm install --save-dev prettier https://github.com/pankgeorg/prettier-plugin-julia/releases/download/v0.2.0/prettier-plugin-julia-0.2.0.tgz

then .prettierrc: { "plugins": ["prettier-plugin-julia"] } and npx prettier --write "**/*.jl". CLI, GitHub Actions, pre-commit and editor setup: docs/usage.md.

Changed

  • wasm/parser.wasm rebuilt on WasmCodegen.jl
    main 98cad1f (v0.1.0: 316bbaf), with WasmBuilder.jl 0.1.1 and wasm-opt -O3
    (Binaryen 130). JuliaSyntax is unchanged: the one shipped in Julia 1.13.2 (also the one in
    1.13.3). The parser output is identical to v0.1.0's on 25,174 real-world Julia files, and
    parsing speed is the same within noise (0.156 → 0.159 s/MB). The module is 739,251 bytes
    (was 735,576). wasm/manifest.json also records the WasmBuilder and Binaryen versions.
    It is the same file as in eslint-plugin-julia v0.2.0. The build was first checked on
    WasmCodegen main in #2; this release ships it.

Fixed

  • The source links in wasm/manifest.json point at topiary-julia's jlparse branch, where
    the parser sources are (the links to main were broken).

Parser: WasmCodegen.jl main 98cad1f (was 316bbaf), JuliaSyntax of Julia 1.13.2, wasm-opt -O3. Parse speed 0.156 → 0.159 s/MB (parse_src, 25,174 files / 229 MB, Node 24, median of 3 interleaved rounds: the same within noise), output identical to v0.1.0 on all of them; module 735,576 → 739,251 bytes.

Corpus check with this parser (the same 25,174 files): 25,163 formatted and verified, 11 rejected by JuliaSyntax (as in v0.1.0), 0 regions kept as written, 0 crashes, formatting idempotent.

Full changelog: v0.1.0...v0.2.0