kschiess / parslet

A small PEG based parser library. See the Hacking page in the Wiki as well.
kschiess.github.com/parslet
MIT License
809 stars 95 forks source link

Added example of simple boolean algebra parser #35

Closed ncr closed 13 years ago

ncr commented 13 years ago

The attached commit contains an example of parsing simple algebraic expressions and shows how to deal with operator precedence and parentheses.

Cheers, Jacek

floere commented 13 years ago

Thanks Jacek! :)