Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMB changes: ConvRef has been merged with Ref #1

Open
digama0 opened this issue Apr 22, 2021 · 0 comments
Open

MMB changes: ConvRef has been merged with Ref #1

digama0 opened this issue Apr 22, 2021 · 0 comments

Comments

@digama0
Copy link

digama0 commented Apr 22, 2021

Just a heads-up, the MMB format has changed to eliminate ConvRef. Ref should pop a conversion obligation if the heap element is a conversion.

kernel/src/stream/proof.rs

Lines 179 to 182 in 491ab31

fn reference(&mut self, idx: u32) -> KResult {
let i = self.proof_heap.get(idx).ok_or(Kind::InvalidHeapIndex)?;
self.proof_stack.push(i);

Unfold also no longer pops three elements from the stack. See https://github.com/digama0/mm0/blob/master/mm0-c/mmb.md

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

No branches or pull requests

1 participant