Skip to content

parser: 0.2.2, the parse stage fits a large repository in a stock Node heap (#1832) - #1966

Draft
swapnilpaliwal-sd wants to merge 2 commits into
0.2.1from
chore/parser-0.2.2
Draft

swapnilpaliwal-sd wants to merge 2 commits into
0.2.1from
chore/parser-0.2.2

Conversation

@swapnilpaliwal-sd

@swapnilpaliwal-sd swapnilpaliwal-sd commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1976

Part of #1832.

Bumps the vendored parser from 0.2.1 (shipped in 0.2.0) to 0.2.2. This is the one parser bump for the 0.2.1 release, kept in its own pull request as the repository's rule asks.

It is a draft until the parser changes it describes have merged into 0.2.1: the parse-stage memory fixes, the multi-line except tuple fix, and streaming of parser output. The README entry is updated to match what lands, and this is merged last.

@swapnilpaliwal-sd swapnilpaliwal-sd added enhancement New feature or request typescript TypeScript python Python java Java parser the parser (parser/), transferred from AxiomCodeAI/parser labels Oct 15, 2026
…e heap

The parser changes this release carries: repeated strings shared across the
worker boundary, appends without call-argument spreads, each Python table
freed once written, the largest files dispatched first, a worker count that
follows memory, no per-module copy of the Python import map, and worklists
drained by index in the Python, Java, TypeScript and C# extractors.

Two Python changes alter the IR: an except tuple that spans lines no longer
tears its block row, and a line break inside a string literal's value is kept
as a newline, so a multi-line string gets a new value and expression hash.

The README entry is extended as the remaining parser changes land; this is
the one parser bump for the 0.2.1 release.

Refs #1832
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request java Java parser the parser (parser/), transferred from AxiomCodeAI/parser python Python typescript TypeScript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant