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

DrNim support #16

Open
Udiknedormin opened this issue Sep 4, 2021 · 0 comments
Open

DrNim support #16

Udiknedormin opened this issue Sep 4, 2021 · 0 comments

Comments

@Udiknedormin
Copy link
Owner

Add some mode or annotation for generating DrNim pragmas. Thanks to that, some runtime checks could be moved from runtime to DrNim's static analysis.

It should support everything that logic library does.

To be decided:

  • how to turn on the feature --- locally? globally?
  • should it be marked in the docs?
  • DrNim syntax compatibility:
    • should NimContracts use old(...) too, or still use backticks and only compile it into old(...) calls in pragmas?
    • forall seems to be identical with its DrNim's pragma equivalent, but forsome's equivalent is exists --- should it change name?
    • support for implication (->) and equivalence (<->)?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant