oclingo

grounding tools for (disjunctive) logic programs

Install

All systems
curl cmd.cat/oclingo.sh
Debian Debian
apt-get install gringo
Ubuntu
apt-get install gringo
Alpine
apk add gringo
image/svg+xml Kali Linux
apt-get install gringo
Windows (WSL2)
sudo apt-get update sudo apt-get install gringo
Raspbian
apt-get install gringo
Docker
docker run cmd.cat/oclingo oclingo powered by Commando

gringo

grounding tools for (disjunctive) logic programs

Current answer set solvers work on variable-free programs. Hence, a grounder is needed that, given an input program with first-order variables, computes an equivalent ground (variable-free) program. This package contains the following tools: - gringo: creates lparse-compatible variable-free programs. - clingo: stands for clasp on gringo and combines both systems in a monolithic way. Its input language is that of gringo and its output corresponds to that of clasp. - iclingo: an incremental answer set programming system, which is based on the idea that the grounder as well as the solver are implemented in a stateful way. Thus, both keep their previous states while increasing an incremental parameter. As regards grounding, at each incremental step, the goal is to produce only ground rules stemming from the current program slice, without re-producing previous ground rules. The ground program slices are then gradually passed to the solver that accumulates ground rules and computes answer sets for them. - oclingo: a system for reactive answer set programming, extending gringo and clasp for handling external modules provided at runtime by a controller.