zom-lang / zom

Zom is a Ahead Of Time compiled system programming language.
Other
4 stars 2 forks source link

replace RangeInclusive with Range #53

Closed Larsouille25 closed 11 months ago

Larsouille25 commented 11 months ago

In this PR, we replace every 'RangeInclusive' with 'Range' as described in some commit messages, the lexer can only provide non inclusive ranges and we store everywhere inclusive ranges, so every time subtract one from the end is ugly and use non-inclusive ranges is better in some cases.