Skip to content

Keywords

KeywordPurposeTraditional equivalent
CountstoneInteger typeint
PotionFloat typefloat
RunestoneString typestr / string
FlagstoneBoolean typebool
ScrollArray typelist / array
TomeMap typedict / map
CofferByte typebyte
HexHex data type
FamiliarObject reference typeobject / any
VoidAbsence of valueNone / null / void
KeywordPurposeExample
MutableMark variable as mutableMutable Countstone x is 5;
EnchantedMark variable as immutable (explicit)Enchanted Countstone PI is 3.14;
isAssignment operatorx is 42;
is written asAssignment (verbose form)x is written as x + 1;
ofUsed in type declarationsScroll of items
KeywordPurposeExample
RitualFunction declarationRitual greet() begins ... end of Ritual
beginsStart of function bodyRitual foo() begins
end of RitualEnd of function bodyend of Ritual
returnethReturn a valuereturneth x * 2;
SpellLambda / inline functionSpell double is (Countstone x) => x * 2;
KeywordPurposeTraditional equivalent
QuestIf / conditionalif
begins whenCondition guardif (condition)
elsewise whenElse-ifelse if / elif
elsewiseElseelse
end of QuestEnd conditional} / end
OdysseyFor loopfor
fromRange startrange(start, ...)
toRange end (exclusive)range(..., end)
byStep sizerange(..., ..., step)
inIteration / membershipin
VigilWhile loopwhile
whilstWhile conditionwhile (condition)
OraclePattern matchingswitch / match
revealsOracle subjectswitch (value)
fateMatch armcase
FleeBreak loopbreak
PersistContinue loopcontinue
KeywordPurposeTraditional equivalent
GuildClass declarationclass
inheritsClass inheritanceextends / :
end of GuildEnd of class}
thySelf referenceself / this
summonCreate instance / importnew / import
RealmEnum declarationenum
end of RealmEnd of enum}
KeywordPurposeTraditional equivalent
TrapTry blocktry
EvadeCatch blockcatch / except
end of TrapEnd error handling}
ForfeitThrow an errorthrow / raise
KeywordPurposeTraditional equivalent
TruthBoolean truetrue / True
FalsehoodBoolean falsefalse / False
VoidNull / nonenull / None
KeywordPurposeTraditional equivalent
andLogical AND&& / and
orLogical OR|| / or
notLogical NOT! / not
matchesEquality check==
KeywordPurpose
endUsed in end of X constructs
writtenUsed in is written as
asUsed in is written as