Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweaks and fixes to the C backend #751

Merged
merged 5 commits into from
Nov 29, 2024
Merged

Tweaks and fixes to the C backend #751

merged 5 commits into from
Nov 29, 2024

Conversation

AltGr
Copy link
Contributor

@AltGr AltGr commented Nov 26, 2024

This improves renaming of idents in the C backend, and fixes a bug in the passing of the visibility information from the surface AST

It's a bit verbose, but catala constructors can overlap ; in C, where they
can't, they would be safely renamed to `__1`, `__2`, etc. but this does'nt
provide very robust interfaces, so it's preferable to always qualify.
the symptom I stumbled on was a rare case of failed renaming on a public
toplevel definition.
Copy link
Contributor

@vincent-botbol vincent-botbol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@AltGr AltGr merged commit 11e0076 into master Nov 29, 2024
5 checks passed
@AltGr AltGr deleted the ctweaks branch November 29, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants