We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Roman
| Paradigm(s) | Imperative, transpiler |
|---|---|
| Designed by | Weirdthingy |
| Appeared in | 2026 |
| Computational class | Turing complete |
| Reference implementation | JavaScript (Node.js) |
Roman is an esoteric programming language, that is designed to be a highly educational and thematic language, forcing the developer to write code in absolute purist classical Latin using strict uppercase typography, mandatory Roman numerals for constants, and specific cryptographic algorithms used by Julius Caesar.
The language functions by transpiling the stone-carved commands directly into native JavaScript for Node.js execution.
Syntax and Design
Lines are encapsulated between the initialization command ORIGO IMPERII and the destruction anchor RVINA IMPERII. Also, you don't use common numbers, you use Roman Numbers: I = 1, V = 5, X = 10... and so on.
Keywords and functions
Lines starting with spaces showcase the translation block:
PONE_VARIABILEM -> let VARIABILIS_CONSTANS -> const IMPRIME -> console.log DATA -> prompt SI -> if ALITER -> else REDIRE -> return FVNCTION -> function PERGE -> continue DVM -> while NAM -> for CONARE -> try CAPERE -> catch
There are maaaany more, just translate everything to latin and change the "U" to "V"
Cryptography (Julius Caesar)
The language supports native shift-cipher routines mapped directly from Suetonio's historical records:
NOTAE_CAESARIS: Shifts all ASCII characters +3 positions forward.SOLVTIO_NOTARVM: Shifts characters -3 positions backward to reveal the text.
Example Program
Here is a complete program that requests input and performs conditional logic using Roman numerals:
ORIGO IMPERII
VARIABILIS_CONSTANS const_var = XV
PONE_VARIABILEM input = DATA("Input example: ")
IMPRIME("Hello World!")
PONE_VARIABILEM let_var = "Roman"
SI (input === let_var) {
IMPRIME("Yes!")
} ALITER {
IMPRIME("No.")
}
FVNCTIO add(a, b) {
VARIABILIS_CONSTANS result = a + b
REDIRE result
}
RVINA IMPERII