Tree @master (Download .tar.gz)
ROMA.markdown @master — view markup · raw · history · blame
Funge-98 Roman Numerals
Fingerprint 0x524f4d41 ('ROMA')
After successfully loading ROMA, the instructions C, D, I, L,
M, V, and X take on new semantics.
Cpushes 100 onto the stack.Dpushes 500 onto the stack.Ipushes 1 onto the stack.Lpushes 50 onto the stack.Mpushes 1000 onto the stack.Vpushes 5 onto the stack.Xpushes 10 onto the stack.
Note that these are just digits, you still have to do the arithmetic
yourself. Executing MCMLXXXIV will not leave 1984 on the stack. But
executing MCM\-+LXXX+++IV\-++ should.