This is a pure Swift Type Library for supporting Roman numerals. It’s absurd because it’s Int64 compatible +/- 9 quintillion, and you can do things like:
let year: RInt = “M” + 1000 + 1.0 + 0xF | 0b0010
print(year) // MMXVIII
Yep, that’s Roman Literal Integer Double Hex Binary :]
Released open source under an MIT style license.
Please let me know what you think!
-fossfool