3 ms·
pyparsing (http://pyparsing.wikispaces.com/ http://pyparsing.wikispaces.com/) is more object-oriented and composable, and it can parse recursive grammars.
by eurleif 13y ago
pyparsing (http://pyparsing.wikispaces.com/ http://pyparsing.wikispaces.com/) is more object-oriented and composable, and it can parse recursive grammars.
- eru 13y agoAnd of course there's also Parsec (http://research.microsoft.com/en-us/um/people/daan/download/parsec/parsec.html http://research.microsoft.com/en-us/um/people/daan/download/...) for Haskell.
- FreakLegion 13y agoMy first thought was that "Verbal Expressions" are simply parser combinators, which of course can do things that individual regular expressions can't do. From the examples though it looks like this is just translating to regular expressions under the hood, which would make it considerably less powerful than Parsec and other parser combinator libs.
- cgag 13y agoThere's a great clojure parser combinator library inspired by parsec as well: https://github.com/blancas/kern https://github.com/blancas/kern