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

Some parts of the language are not discussed in the tutorial #4

Open
2 of 4 tasks
peterohanley opened this issue Apr 26, 2024 · 8 comments
Open
2 of 4 tasks

Comments

@peterohanley
Copy link

peterohanley commented Apr 26, 2024

  • cn_function
  • pack
  • bitwise functions (operators are not present in the logical language)
  • instantiate ("extract for pure quantifiers")
@bcpierce00
Copy link
Collaborator

bcpierce00 commented Apr 27, 2024 via email

@dc-mak
Copy link
Collaborator

dc-mak commented May 8, 2024

rems-project/cerberus#230 (comment)

Just adding here so that it's logged somewhere. You can also have arguments, but the most common case is for constants.

@dc-mak
Copy link
Collaborator

dc-mak commented May 8, 2024

@peterohanley
Copy link
Author

It's possible sometimes to write Owned(p) instead of Owned<...>(p) but this is only used in a malloc example, never explicitly mentioned.

@samcowger
Copy link
Contributor

I also don't see any mention of instantiate in the tutorial. It turned out to be necessary for a spec that I wanted to write, which I hope to include in the archive via #49. That example turned out to be a good way for me and @septract to learn about the semantics of instantiate - perhaps it (or something like it) would be a good addition to the tutorial as well.

@bcpierce00
Copy link
Collaborator

bcpierce00 commented Jul 22, 2024 via email

@samcowger
Copy link
Contributor

Sure, I'll do that.

@septract
Copy link
Collaborator

septract commented Aug 19, 2024

We have now disabled pack / unpack, and declared cn_function experimental. So I don't think we need to discuss them in the tutorial.

This still leaves bitwise functions and instantiate.

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

5 participants