Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Apr 17, 2025

Our Rust AST, ESTree AST, and TS-ESTree ASTs are increasingly diverging from each other. It's useful to be able to view any of them.

Alter oxc_parser example so that:

  • --ast prints the Rust AST.
  • --estree prints ESTree AST or TS-ESTree AST, depending on source type.

@github-actions github-actions bot added A-parser Area - Parser C-docs Category - Documentation. Related to user-facing or internal documentation labels Apr 17, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel force-pushed the 04-17-docs_parser_update_parser_example branch from f27ea19 to 8523af5 Compare April 17, 2025 11:14
@codspeed-hq
Copy link

codspeed-hq bot commented Apr 17, 2025

CodSpeed Instrumentation Performance Report

Merging #10468 will not alter performance

Comparing 04-17-docs_parser_update_parser_example (ac23773) with main (a5875da)

Summary

✅ 36 untouched benchmarks

@overlookmotel overlookmotel marked this pull request as ready for review April 17, 2025 11:16
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Apr 17, 2025
Copy link
Member

Boshen commented Apr 17, 2025

Merge activity

Our Rust AST, ESTree AST, and TS-ESTree ASTs are increasingly diverging from each other. It's useful to be able to view any of them.

Alter `oxc_parser` example so that:

* `--ast` prints the Rust AST.
* `--estree` prints ESTree AST or TS-ESTree AST, depending on source type.
@graphite-app graphite-app bot force-pushed the 04-17-docs_parser_update_parser_example branch from 8523af5 to ac23773 Compare April 17, 2025 11:44
@graphite-app graphite-app bot merged commit ac23773 into main Apr 17, 2025
29 checks passed
@graphite-app graphite-app bot deleted the 04-17-docs_parser_update_parser_example branch April 17, 2025 11:50
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-parser Area - Parser C-docs Category - Documentation. Related to user-facing or internal documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants