Command-line utility that transcribes a number to the mayan numeral system. Other implementations
Compile the program with: rustc maya.rs
.
Then run ./maya 2017
╔════╦════╦════╗
║ ║ ║ ●● ║
║ ║ ║————║
║ ║ ║————║
║————║ Θ ║————║
╚════╩════╩════╝
(and indeed, 2017 = 5 x 20^2 + 0 x 20^1 + (3*5 + 2) x 20^0
)