Creates an exclusive range with a Latin keyword.
Syntax: <expression> ante <expression>
Category
range
Related
Examples
examples/corpus/ante/ante.fab (canonical · keyword)
Creates an exclusive range with a Latin keyword.
# ante — exclusive upper bound for range iteration
#
# itera ab <initium> ante <finis> <var> { … }
#
# GRAMMAR:
# iterStmt :← 'itera' 'ab' expr 'ante' expr binding '{' stmt* '}'
#
# EXPECTED OUTPUT:
# none
incipit {
# i = 0, 1, 2, 3 (stops before 4)
itera ab 0 ante 4 fixum i {
nota i
}
}Expected output:
0
1
2
3