Sprache Part 7: ChainOperator and ChainRightOperator
This is part of a series of posts documenting Sprache. The
ChainOperator
and ChainRightOperator
methods are helpers for parsing left and right-associative operators respectivey, e.g. 1 + 2
or 5 ^ 2
.