Skip to content

Conversation

W95Psp
Copy link
Member

@W95Psp W95Psp commented Jul 10, 2025

This PR adds a bridge from the AST of the Rust engine back to the AST of the OCaml engine.

It also fixes up a few nodes of the AST that were superfluous or were lacking informations.
This PR doesn't do anything with the bridge itself for now.

This PR also change slightly how names are represented: instead of using concrete identifiers for tuples, we now have dedicated nodes. This will be much easier to match on tuples of arbirary sizes.

That last change probably breaks the output of Lean @clementblaudeau, I will fix it soon.
So this PR is not ready to be merged, but can be reviewed.

Fixes #1578.

@W95Psp W95Psp marked this pull request as ready for review July 10, 2025 12:24
@W95Psp W95Psp requested a review from a team as a code owner July 10, 2025 12:24
@W95Psp W95Psp force-pushed the rengine-bridge-from-rust-idenpendent branch 2 times, most recently from 635add3 to 901996e Compare July 24, 2025 14:28
@W95Psp W95Psp marked this pull request as draft August 13, 2025 13:20
@W95Psp
Copy link
Member Author

W95Psp commented Aug 13, 2025

This need some rebasing

@W95Psp
Copy link
Member Author

W95Psp commented Aug 21, 2025

I'm rebasing that one now

@W95Psp W95Psp force-pushed the rengine-bridge-from-rust-idenpendent branch from 74a7891 to 1889a33 Compare August 21, 2025 06:30
@W95Psp
Copy link
Member Author

W95Psp commented Sep 18, 2025

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.

Rust Engine: AST Bridge: Rust AST -> OCaml AST

1 participant