Skip to content

Conversation

@AjayBrahmakshatriya
Copy link
Collaborator

…ere brackets are required

Previously BuildIt's c code generator added () around expression in an ad-hoc conservative way making the code somewhat unreadable. This change uses the actual precedence of operators to determine when to insert (). Cleans up a bunch of samples.

@AjayBrahmakshatriya AjayBrahmakshatriya merged commit 115fac2 into BuildIt-lang:master Nov 3, 2025
3 checks passed
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.

1 participant