romanF

From Esolang
Jump to navigation Jump to search

romanF is a Brainfuck derivative, but using Roman numerals. It is made by User:Gilbert189.

Translation to Brainfuck

romanF Brainfuck
I +
V -
X >
L <
D .,
C [
M ]

Conversion to Arabic numeral

Using straight-up Roman numerals is fine, but using Arabic number is supported as well (and probably even more challenging to program with). Here's an example of romanF program, written in Arabic numerals:

600 500 1000

The numbers are then converted into Roman numerals:

DC D M

Then the numbers are combined into one:

DCDM

Examples

HELLO program

IIIIIIIICXIIIIIIIIILVMXCXIXILLVMXDCVMXVVVCLILIXXVMLDCVMLIIIIIIICXIXILLVMXDCVMXCLILIXXVMLDCVMLIIICXIXILLVMXDCVMX

or in Arabic numerals:

3 3 2 113 3 3 55 1090 19 1 50 55 1010 605 1015 5 5 151 59 15 1050 605 1053 3 1 119 1 50 55 1010 605 1090 51 59 15 1050 605 1053 119 1 50 55 1010 605 1010

Cat

DCDM

or in Arabic numerals:

600 500 1000

External resources