Multi-section bytecode support#31
Open
robpatterson13 wants to merge 11 commits into
Open
Conversation
…ng section scaffolding to accommodate text in addition to raw bytes
…ly resolved strings on binary side, already existing strings in text side
…26) Per release-plz's official quickstart, switch release-plz/action from a commit SHA back to the version tag (v0.5.130) -- consistent with the action's own docs and the other version-pinned actions in this repo. A comment flags that the "name@version" ref can be mangled by email-obfuscation tooling, so the ref must be verified after automated edits. Also add `pull-requests: read` to the release job, matching the recommended setup (release-plz uses it to link merged PRs in the generated release notes). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
… for ProgramContext; refactor ProgramContext out of binary mod into its own program mod
7a1dfa5 to
b7df66e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
#[loadable]with its sectionTextBytecodeFileandBinaryBytecodeFile, with parsing of specific sections left to the implementation of the instruction setSectionViewfor each section's ranges, backed by the file structs aboveThe general shape of a bytecode file is as follows:
vihaco version <num>; for binary, this isb"VHBC<num>"