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 some compiler macros and other tweaks to build clean #140

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rpgoldman
Copy link
Contributor

Add some compiler macros that let us prune some unreachable branches in the theorem-prover, when argument values are known at compile time.

Other improvements for compilation, specifically on SBCL:

Add verify-type, a macro that is like check-type, but that does not have a restart. The restart was confusing SBCL's type-checker by making it think that the type of some variables was unknown. Replaced by simply erroring out.

Fix use of old "SHOP2" package name.

Replace assert with unless + error.

Several improvements for compilation, specifically on SBCL.
Add `verify-type`, a macro that is like `check-type`, but that does
not have a restart.  The restart was confusing SBCL's type-checker.
Fix an old SHOP2 package.
In one other place I replaced `assert` with `unless` + `error`.
These compiler macros get rid of trivial cases in `apply-substitution`
and `seek-satisfiers` macros that were causing distracting code
removal messages on SBCL.
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