feat: rust compiler#1143
Conversation
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Shinya Fujino <shf0811@gmail.com>
Co-authored-by: Louis Escher <66965600+louisescher@users.noreply.github.com>
|
|
Glorious! |
fix: use oicd for publishing
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
update rust branch
|
The compiler now fully lives at https://github.com/withastro/compiler-rs and won't be merged in this repo. This repo will eventually be archived and left to history and further development will be exclusive to the Rust compiler. Thank you everyone for the reactions, I loved seeing everyone send me screenshots of this PR with the amount of bug fixes 😄 |
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: withastro/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
Fixes #956
Fixes #852
Fixes #893
Testing
Both the codegen and the parser have a lot of tests, even more so than the Go compiler.
Docs