Skip to content

andybalaam/datecalc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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