Trithemius

From Esolang
Jump to navigation Jump to search

Trithemius is an in-development esoteric programming language by User:Wound theology, who under a different account, designed the joke language Brainfuck² in 2017. Trithemius aims to simulate the look and feel of medieval and early modern grimoires, or books of magic. It is named for Johannes Trithemius, Benedictine polymath and occultist, who is considered one of the forefathers of modern cryptography.

Introduction

Syntax

Libri

Programs are separated into libri (singular liber), which are initiated with the magic word Liber. Any input after this word is ignored, allowed only for human readability (i.e., for organization). The first liber is always a comment section, again, for human readability and organization. Libri describe functions or other objects.

String rewriting

String rewriting is described in tables, initiated with the magic word Table. Each term is written to the left and its replacement written to the right (either with a tab U+0009 or five spaces U+0020).

Input

Input is handled on a special liber entitled diary.

Sample programs

Hello World

Liber I
A hello world program.

Liber II
Table of Correspondence
J     Hello World

Diary
J.

Output:

Δ. Hello World