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

Add NORM IO op code #236

Merged
merged 5 commits into from
Nov 22, 2022
Merged

Add NORM IO op code #236

merged 5 commits into from
Nov 22, 2022

Conversation

o-santi
Copy link
Contributor

@o-santi o-santi commented Nov 17, 2022

  • change definition of (If ...) on genesis, in order to not match true on unexpected terms.
  • add normalize IO opcode, based on HVM original normalize function

adding an IO to fully normalize a term, using a `normalize` (very
similar to `compute_at`).
some tests to the function normalize
@o-santi o-santi linked an issue Nov 17, 2022 that may be closed by this pull request
@steinerkelvin steinerkelvin requested a review from racs4 November 18, 2022 20:27
kindelia_core/src/hvm.rs Outdated Show resolved Hide resolved
kindelia_core/src/hvm.rs Outdated Show resolved Hide resolved
Comment on lines +1688 to +1689
Host(Loc),
Linker(Loc)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think both can be done in a single step, but I'm not going to optimize this now.

@steinerkelvin steinerkelvin merged commit 7d184eb into dev Nov 22, 2022
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.

Full normalization primitive
4 participants