Repository navigation
feat(python): integrate the in-process Tree-sitter UAST parser - #163
Draft
infinitepwn wants to merge 1 commit into
Draft
infinitepwn wants to merge 1 commit into
infinitepwn wants to merge 1 commit into
Conversation
Initialize Python WASM across CLI, workers and single-file analysis, reuse the shared parser pipeline, and remove obsolete Python binary deployment. Adapt existing Python tests without changing their expected findings. Keep the local UAST dependency for coordinated draft review pending the new Python parser npm release.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adopt the new in-process Tree-sitter Python UAST parser instead of spawning the external
uast4pybinary.The lockfile also restores 25 missing optional-platform entries for the already-pinned esbuild 0.27.5, required for a clean
npm ci; existing dependency versions are unchanged.Dependency / why this is a draft
Depends on antgroup/YASA-UAST#82.
The new Python parser's npm release version has not been selected in this PR. For coordinated local review, the dependency currently remains
file:../uast/parser-Python, with the two repositories as siblings. This is not yet suitable for a standalone Engine checkout or the existing upstream CI.Before marking this ready for merge:
No npm package or release workflow has been published/executed by this PR.
Validation
Validated locally on macOS ARM64 with the paired UAST checkout:
npm ci --ignore-scripts; TypeScript--noEmitand compilation.The full multi-platform build, all other-language benchmark suites and GitHub release execution were not run. The current zero-byte-file filtering behavior is unchanged by this PR.