Next: , Up: Extending


4.1 Creating new predicates

GPJ is easily extendible by creating new java predicates such as those in gnu.prolog.vm.builtins. They need to implement gnu.prolog.vm.PrologCode. gnu.prolog.vm.ExecuteOnlyCode is provided for convenience as most will not need to implement the install or uninstall methods.