shop-planner / shop3

SHOP3 Git repository
https://shop-planner.github.io
144 stars 14 forks source link

Add some compiler macros and other tweaks to build clean #140

Open rpgoldman opened 1 year ago

rpgoldman commented 1 year ago

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.