Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
can't parse chained unary operators #2
The parser cannot parse chained unary operator chains. For example, this works:
But this fails:
This is because
This looks like a limitation of Parsec's expression parser:
Writing an expression parser with operator precedence is too much work for me now. Maybe I can find a workaround and go with Parsec's expr. parser.