A pure-python implementation of Datalog, a truly declarative language derived from Prolog.
A pure-python implementation of datalog, a truly declarative language derived from prolog.
pyDatalog adds the logic programming paradigm to Python's extensive toolbox, in a pythonic way.
Logic programmers can now use the extensive standard library of Python, and Python programmers can now express complex algorithms quickly.
Datalog is a truly declarative language derived from Prolog, with strong academic foundations.
Datalog excels at managing complexity. Datalog programs are shorter than their Python equivalent, and Datalog statements can be specified in any order, as simply as formula in a spreadsheet.
In particular, Datalog can be used for: - simulating intelligent behavior (for games or expert systems), - querying complex sets of related information (e.g. in data integration or Natural Language Processing), - performing recursive algorithms (e.g. on hierarchical data structure)
pyDatalog is derived from previous work by John D. Ramsdell.
It is an open-source project (LGPL) lead by Pierre Carbonnelle (in Belgium). It is inspired by LogicBlox.