Skip to content

chore(deps): updated vihaco dependency to 0.4.0 - #214

Open
robpatterson13 wants to merge 2 commits into
QuEraComputing:mainfrom
robpatterson13:rob/update-to-vihaco-0.4.0
Open

chore(deps): updated vihaco dependency to 0.4.0#214
robpatterson13 wants to merge 2 commits into
QuEraComputing:mainfrom
robpatterson13:rob/update-to-vihaco-0.4.0

Conversation

@robpatterson13

Copy link
Copy Markdown

Summary

Migrates ppvm-vihaco and vihaco-circuit-isa from vihaco 0.1.1 to vihaco 0.4.0.

Changes

  • Migrates PPVM to vihaco 0.4.0 surface/runtime instruction APIs.
  • Replaces the legacy parser pipeline with v0.4 parsing and resolution.
  • Generates the circuit instruction set with vihaco::component!.
  • Enforces one-to-one source-to-runtime instruction lowering.
  • Updates .sst syntax, including:
  const.u64 0       → cpu::cpu.const u64, 0
  eq.u32            → cpu::cpu.eq u32
  circuit.h         → circuit::circuit.h
  ret               → cpu::cpu.ret 0
  @label:           → cpu::cpu.label @label
  • Resolves branch targets and function calls to runtime addresses.
  • Adds bytecode v2 serialization for function tables, labels, signatures, and main_function.
  • Updates CLI, TUI, examples, embedded programs, and test fixtures.
  • Adds and updates migration documentation in docs/changelog/vihaco-0.4.md.

Verification

  • cargo test --workspace
  • cargo check -p ppvm-vihaco
  • cargo test -p ppvm-vihaco
  • cargo test -p vihaco-circuit-isa
  • cargo test -p ppvm-cli
  • cargo test -p ppvm-tui

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👋 Thanks for opening your first pull request against PPVM!

A quick note on contribution terms: by submitting this PR you
agree that your contribution is licensed under the
Apache License 2.0
and that you accept the
PPVM Contributor License Agreement.
Please skim those before a maintainer reviews — opening this PR
counts as your acceptance.

A few things that will speed up review:

  • Read CONTRIBUTING.md
    for the workflow, build commands, and style notes.
  • Run prek run --all-files locally; CI runs the same checks.
  • Use Conventional Commits
    for commit messages.

We'll get to your PR as soon as we can. Thanks for contributing!

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