-
Notifications
You must be signed in to change notification settings - Fork 0
Syntax & Types
Nika Natsvlishvili edited this page Dec 29, 2025
·
1 revision
Variables are declared using the inscribe keyword. Types are optional but recommended for canonical correctness.
# Dynamic typing
inscribe x = 10;
# Explicit typing (Enforced at runtime)
inscribe name: Text = "Theophilus";
inscribe pi: HolyFloat = 3.14;
inscribe is_holy: Bool = Verily;Variables are mutable, but you must use the amend keyword to modify them.
amend x = x + 1;| Logos Type | Equivalent | Example |
|---|---|---|
| HolyInt | int |
42, -10
|
| HolyFloat | float |
3.14, 0.0
|
| Text | string |
"Amen" |
| Bool | bool |
Verily, Nay
|
| Procession | list |
[1, 2, 3] |
| Void | None |
Void |
Printing to the standard output is done via proclaim.
proclaim "The service begins.";
proclaim 10 + 20;Reading input from the user is done via supplicate.
inscribe name = supplicate "What is your name? ";To change a value from one type to another.
inscribe str_val = "50";
inscribe int_val = transfigure str_val into HolyInt;