TOPL

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.

TOPL is a programming language where instructions are simulated by trains moving on tracks between stations. The creator, User:Hppavilion1, is not actually a train fanatic.

Syntax

A TOPL file is actually a directory (or a .zip or .tar.gz if the implementer feels like doing so) that has static-name files telling the interpreter various parts of the program, making it a form of Matrioshka language. The bare minimum file structure is as such:

/
---- delays.cfg
---- graph.json

More files may be added as the language develops.