Skip to content

feat: rust compiler#1143

Draft
Princesseuh wants to merge 27 commits intomainfrom
feat/rust
Draft

feat: rust compiler#1143
Princesseuh wants to merge 27 commits intomainfrom
feat/rust

Conversation

@Princesseuh
Copy link
Member

@Princesseuh Princesseuh commented Feb 7, 2026

Changes

This PR rewrites our compiler from scratch in Rust using a oxc-based parser. The Astro parser for oxc is available to review here: Princesseuh/oxc#2

Fixes #1077
Fixes #1069
Fixes #1049
Fixes #920
Fixes #984
Fixes #988
Fixes #983
Fixes #966
Fixes #958
Fixes #945
Fixes #944
Fixes #913
Fixes #893
Fixes #876
Fixes #723
Fixes #724
Fixes #622
Fixes #554
Fixes #432
Fixes #1116
Fixes #1096
Fixes #1046
Fixes #1009
Fixes #971
Fixes #778
Fixes #725
Fixes #811
Fixes #1110
Fixes #1117
Fixes #643
Fixes #1124
Fixes #982
Fixes #868
Fixes #946
Fixes #1015
Fixes #715
Fixes #1091
Fixes #1095
Fixes #1089
Fixes #914
Fixes #506
Fixes #854
Fixes #996
Fixes #980
Fixes #1086
Fixes #911
Fixes #341
Fixes #729
Fixes #960
Fixes #1122
Fixes #1048
Fixes #1129
Fixes #1045

Testing

Both the codegen and the parser have a lot of tests, even more so than the Go compiler.

Docs

@changeset-bot
Copy link

changeset-bot bot commented Feb 7, 2026

⚠️ No Changeset found

Latest commit: 1cd3230

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Fryuni
Copy link
Member

Fryuni commented Feb 8, 2026

Glorious!

Base automatically changed from feat/syntax-spec to main February 12, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants