Numeris Romanis: A mildly absurd Swift IV Structure for Roman Numerals

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 Congratulations and keep up the good work! :]

This topic was automatically closed after 166 days. New replies are no longer allowed.