Skip to content
C library for Roman Catholic liturgical calendar computations
C Ruby CMake C++ Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spec_cli
tests
util
.gitignore
CMakeLists.txt
README.md
calrom.c
calrom.h
dates.c
dates.h
temporale.c
temporale.h

README.md

libcalrom

C library for calendar computations according to the Roman Catholic liturgical calendar as instituted by MP Mysterii Paschalis of Paul VI. (AAS 61 (1969), pp. 222-226). The rules are defined in General Norms for the Liturgical Year and the Calendar ([English translation][gnlyc]).

After the calendar has been implemented in Ruby and the results made widely available for remote access through an API, this library implements the same functionality in C. The main intent is to allow easy creation of bindings for widest possible spectrum of programming languages.

Requirements

  • glib 2.0
  • cmake (used for building in the current alpha stage; later switch to autotools is probable)

Building

cmake .
make
make install

Running tests

Unit tests of libcalrom are built upon the glib testing framework.

The build process described above also builds executable tests/run which can be run on it's own or using gtester.

There is further a separate project with "acceptance tests" ensuring that libcalrom's behaviour is consistent with the Ruby gem calendarium-romanum, which is considered reference implementation of the calendar system. Directory spec_cli/ contains an adapter for this test suite.

License

dual-licensed: freely choose between GNU/LGPL 3 and MIT

You can’t perform that action at this time.