Skip to content

chore: translator fixes#22983

Merged
iakovenkos merged 18 commits into
merge-train/barretenbergfrom
si/k-shifts-return
May 11, 2026
Merged

chore: translator fixes#22983
iakovenkos merged 18 commits into
merge-train/barretenbergfrom
si/k-shifts-return

Conversation

@iakovenkos
Copy link
Copy Markdown
Contributor

@iakovenkos iakovenkos commented May 6, 2026

.

@iakovenkos iakovenkos changed the title chore: k shifts resurrection chore: translator fixes May 6, 2026
// contribute zero and are simply not emitted.
std::array<FFType, NUM_CONCATENATED_POLYS> result;
size_t group_idx = 0;
#define ACCUMULATE_REF(name) \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't like this honestly. I'd prefer verbose + a foolproof test or using constexpr templates

@ludamad
Copy link
Copy Markdown
Collaborator

ludamad commented May 6, 2026

Not a big fan of the macros here. I'd really just prefer a standalone typescript file (the best scripting format we have available, IMO, node can just run it these days with no compilation) to generate the code, and to checkin the generated code

Copy link
Copy Markdown
Collaborator

@ludamad ludamad left a comment

Choose a reason for hiding this comment

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

approving for now after discussion about delaying longer term plans of code gen

Copy link
Copy Markdown
Contributor

@federicobarbacovi federicobarbacovi left a comment

Choose a reason for hiding this comment

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

Thanks for this!

@iakovenkos iakovenkos enabled auto-merge (squash) May 11, 2026 11:54
@iakovenkos iakovenkos merged commit d414a0c into merge-train/barretenberg May 11, 2026
14 checks passed
@iakovenkos iakovenkos deleted the si/k-shifts-return branch May 11, 2026 11:58
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.

3 participants