Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.48 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.48 KB

RCcalOnlyCLIPS

Creates the Roman Catholic Liturgical Calendar for any year using CLIPS rule engine. Liturgical Calendar for the Ordinary Form of the Roman Rite of the Latin Rite of the Catholic Church.

Uses the CLIPS rules engine (BRE) to calculate the dates of feasts, fasts, etc., for use in the Roman Catholic liturgy. Several general and local calendars are supported today:

  • the General Roman Calandar (base calendar for all others),
  • the USA local calendar
  • Australia
  • New Zealand
  • Ireland
  • England
  • Scotland
  • Wales.

There are several technologies in use for this solution.

The CLIPS globals, templates, functions, facts, and rules hold all the necessary information and can be used stand-alone within a CLIPS environment (or command-line interface). The resultant facts represent all celebrations for the year based on the local calendar and language chosen. The name of the fact holding the results is: "RCcalThisYear".

To implement the whole system as it is today, you will need:

  • PHP 7 with at least the SQLite extension,
  • php-clips.

A running copy of the system can be found here: Roman Catholic Liturgical Calendar.

Lastly, ensure there is write permission to both the data directory and the RomanKeys.db3 database. The requirement for the directory is a PHP quirk/gift.