Skip to content

transpile: Refactor and merge convert_condition and match_bool - #2018

Draft
Rua wants to merge 17 commits into
immunant:masterfrom
Rua:convert_condition-refactor
Draft

Rua wants to merge 17 commits into
immunant:masterfrom
Rua:convert_condition-refactor

Conversation

@Rua

@Rua Rua commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

This introduces a new enum IdOrExpr that functions can take, to allow them to accept either a yet-to-be-translated C CExprId or an already-translated Rust Box<Expr>. That in turn allows some functions to perform both roles.

@Rua
Rua force-pushed the convert_condition-refactor branch from fa29a94 to 51cf76e Compare September 21, 2026 13:15
@Rua
Rua marked this pull request as draft September 21, 2026 13:15
@Rua
Rua force-pushed the convert_condition-refactor branch 2 times, most recently from 2671d93 to a8751c9 Compare September 21, 2026 13:58
@Rua
Rua force-pushed the convert_condition-refactor branch from a8751c9 to b733f28 Compare October 4, 2026 17:46
@Rua
Rua force-pushed the convert_condition-refactor branch from b733f28 to d99cfb3 Compare October 4, 2026 19:20
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