Skip to content

Replace Perl binding cleanup with V - #27

Merged
antono3 merged 1 commit into
masterfrom
maintenance/v-native-cleanup
Sep 12, 2026
Merged

Replace Perl binding cleanup with V#27
antono3 merged 1 commit into
masterfrom
maintenance/v-native-cleanup

Conversation

@antono3

@antono3 antono3 commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • replace the combined Perl binding postprocessor with a V-native implementation
  • move variant configuration and verification from Perl-backed shell scripts to .vsh scripts
  • make the C translation workaround V-native and remove stale Perl scratch ignores
  • run the cleanup self-test in the always-reported demo workflow

Compatibility

The new cleaner was compared against freshly translated cimgui/cimplot inputs. Its ImGui and ImPlot outputs are byte-for-byte identical to the previous implementation after accounting for the implementation filename in the generated non-regression note.

Verification

  • v run cleanup_imgui_implot.vsh --self-test
  • v vet cleanup_imgui_implot.vsh scripts/configure_variant.vsh scripts/check_upstream_variant.vsh generate.vsh
  • v run scripts/check_upstream_variant.vsh
  • v run generate.vsh (translation, both cleanup passes, formatting, and native shared-library build)
  • docking ABI configuration round-trip through standard and back with no residual diff
  • golden cleanup comparison for both generated bindings
  • memory-guarded cleanup run: ImGui 147 MiB peak / 0.42 s; ImPlot 83 MiB peak / 0.27 s

@antono3
antono3 merged commit 9926e26 into master Sep 12, 2026
3 checks passed
@antono3
antono3 deleted the maintenance/v-native-cleanup branch September 12, 2026 11:26
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