Statically import fail/0 instead of defining new fields

The compiler almost always created a new field in every predicate
named fail_0, initialized to the static instance inside of Failure.
Instead drop the label and statically import fail_0.

Change-Id: I6542c6eb91e997dc6f32e6680dede943cb034deb
3 files changed
tree: 860f45b029934f249a1ac0dfa4dac66f5248f3ba
  1. .settings/
  2. bin/
  3. examples/
  4. java/
  5. src/
  6. .buckconfig
  7. .classpath
  8. .gitignore
  9. .gitmodules
  10. .project
  11. bootstrap.defs
  12. BUCK
  13. fake_pom_install.xml
  14. LICENSE
  15. LICENSE.EPL
  16. LICENSE.GPL
  17. README.md
README.md

Prolog Cafe

A fork of Mutsunori BANBARA‘s PrologCafe to support Gerrit Code Review’s customizable project rules.

Build

To bootstrap Buck and SWI-Prolog >= 6.6.4 must be installed and then build the runtime and compiler with:

buck build all

To package for Maven into the local ~/.m2/repository directory:

buck build install

To publish to the gerrit-maven storage bucket:

buck build deploy