-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Nika Natsvlishvili edited this page Dec 29, 2025
·
2 revisions
"In the beginning was the Word..."
Logos is an esoteric, imperative programming language with a syntax inspired by Orthodox Christian liturgy. It transforms the act of coding into a spiritual discipline: functions become Mysteries, loops become Chants, and errors are Sins that must be Confessed.
Beneath its theological veneer, Logos is a robust interpreted language built on Python 3.10+ and the Lark parsing library.
-
Thematic Syntax: Code reads like a liturgical text (
proclaim,vigil,amen). - Tail Call Optimization (TCO): Implements a trampoline mechanism to allow deep recursion without stack overflow ("Pride").
-
Runtime Type Enforcement: Gradual typing that is validated strictly at runtime (
HolyInt,Text,Bool). -
The Apocrypha (FFI): Direct bindings to C-libraries (DLLs/Shared Objects) via
ctypes. - Iconostasis (LSP): A fully functional Language Server for VS Code providing real-time error checking.
mystery main() {
proclaim "Peace be with you.";
inscribe count: HolyInt = 0;
chant count < 3 {
proclaim "Kyrie Eleison";
amend count = count + 1;
} amen
} amen