Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.01 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.01 KB

computus-in-sed

The sed script for performing the calculation of the date of Eastern Orthodox Easter.

Usage example:

echo 2020 | ./computus.sed

For testing for the years from 1994 upto 2034 execute ./dictionary-test.sh or to test an arbitrary range of years (using perl-module Dates::Easter) run ./range-test.sh <from_year> <to_year> (beware that both methods take a very long time due to the use of unary radix in current version of my script).

For more details see the actual implementation in computus.sed and/or my blog-post.

TODO: In principle, it is possible and not so hard to implement other algorithms for computus (e.g. for Catholic Easter).

References: