Conlang: Add range operators
TODO: Limit range operators to at most 2 operands
This commit is contained in:
@@ -603,6 +603,12 @@ pub mod expression {
|
||||
/// `^^`: **Non-short-circuiting** logical XOR
|
||||
LogXor,
|
||||
|
||||
// Range operators
|
||||
/// `..`: Exclusive range
|
||||
RangeExc,
|
||||
/// `..=`: Inclusive range
|
||||
RangeInc,
|
||||
|
||||
// Comparison operators
|
||||
/// `<`: Less-than Comparison
|
||||
Less,
|
||||
|
||||
Reference in New Issue
Block a user