BenchR267 / Parsel

Create complex parsers by combining simple ones with Parsel!

Home Page:https://benchr267.github.io/Parsel/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix precedence of operators

BenchR267 opened this issue · comments

Currently there are parenthesis needed in the following example:

let ab = (char("a") ~ char("b")) ^^ { String([$0, $1]) }

That should not be needed because ^^ should have a higher precedence than ~.