Adriandmen / 05AB1E

A concise stack-based golfing language
MIT License
760 stars 48 forks source link

Roman Number builtin `.v` only works on uppercase letters #194

Open kcruijss opened 2 years ago

kcruijss commented 2 years ago

The .v builtin to converts valid Roman Number letters (e.g. I or VC) to integers, but only works on uppercase letters. I can understand that the reverse builtin .X always converts to uppercase, but just like the builtins for Hexadecimal conversion H and h , I would expect .v/H to work on both upper- and lowercase characters; and .X/h only convert to uppercase.

Try it online to reproduce.
Came across it in this codegolf answer of mine.