Skip to content

C library for Roman Catholic liturgical calendar computations

Notifications You must be signed in to change notification settings

calendarium-romanum/libcalrom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

C library for Roman Catholic liturgical calendar computations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published