Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 487 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 487 Bytes

datecalc

A calculator for dates.

Written as an example programming language for a workshop where we write our own language. See also the workshop slides.

Should work in Python 2 and Python 3.

Examples:

Typing this in a terminal in this directory:

python datecalc.py "today + 2 days"

Should print a response like this:

2017-05-21 (Sunday)

Run the tests:

make