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

Statically Typecheck Rules + Where Clauses #17

Open
maurer opened this issue Dec 13, 2016 · 1 comment
Open

Statically Typecheck Rules + Where Clauses #17

maurer opened this issue Dec 13, 2016 · 1 comment

Comments

@maurer
Copy link
Owner

maurer commented Dec 13, 2016

Currently, typechecking is performed only dynamically. This leads to a compile/test cycle that's much longer than it needs to be if the rule wouldn't trigger until later in the program.

Explore using a procedural macro (Rust Macros 2.0) pending stabilization of that feature.

Unless I'm misreading, 1.1 will only allow me to write #[derive()] macros, so to use that all rules would need to be in the form of a type declaration, which is possibly the only way to get weirder than my current edsl.

@maurer
Copy link
Owner Author

maurer commented Jan 18, 2017

Removing this from 0.1 release since it's not doable with Macros 1.1.

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