LogicProgrammingScopeWithVariables
Adds fresh-variable creation to the scope by mixing in VariablesProvider (delegating to variablesProvider), so idiomatic single-letter variables (A, B, C, ... from VariablesProvider) and by-delegated ones (val x by variablesProvider) are available directly inside a logicProgramming block, alongside every other BaseLogicProgrammingScope mixin.
Inheritors
Properties
The Termificator used by toTerm to convert arbitrary values into Terms within this scope.
The VariablesProvider this scope's own VariablesProvider methods delegate to.
Functions
Creates a fresh scope of type S, backed by a brand-new, empty Scope — so that it.unibo.tuprolog.core.Vars created within it are unrelated to the ones created through this scope. Used by builders such as MinimalLogicProgrammingScope.rule/MinimalLogicProgrammingScope.fact to isolate each clause's variables.
Converts this value into a Term, via termificator. See Termificator.termify for the conversion rules.