Skip to content

andybalaam/datecalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Example programming language for calculating dates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published