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

[CN-exec] Fixes for INI demo #609

Merged
merged 4 commits into from
Oct 4, 2024

Conversation

rbanerjee20
Copy link
Contributor

Fixes for demo at Big Specification workshop at Newton Institute:

  • Implementation of rem in CN runtime library
  • Proper implementation of mod in CN runtime library (the two operators are not exactly the same, particularly in the case of negative numbers)
  • Fix for translation of CN if-then-else. Was causing a segmentation fault (stack overflow) in seq_of_buf CN function, where the recursive call to seq_of_buf was being evaluated each time, regardless of what the condition evaluated to.

@rbanerjee20 rbanerjee20 self-assigned this Oct 4, 2024
@rbanerjee20 rbanerjee20 merged commit 75c6ec6 into rems-project:master Oct 4, 2024
2 checks passed
@rbanerjee20 rbanerjee20 deleted the newton-demo-fix branch October 4, 2024 14:37
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