Parser combinators for Clojure(Script).
Parsesso | Parsec1, 2 | Kern3 | Parsatron4 |
---|---|---|---|
result | return | return | always |
fail | fail | fail | never |
expecting | label , <?> | <?> | |
bind-let | do | bind | let->> |
after | >> | >> | >> , nxt |
using | fmap | <$> | |
maybe | try | <:> | attempt |
look-ahead | lookAhead | look-ahead | lookahead |
not-followed-by | notFollowedBy | not-followed-by | |
many0 | many | many | many |
many1 | many1 | many1 | many1 |
skip0 | skipMany | skip-many | |
skip1 | skipMany1 | skip-many1 | |
token | token , satisfy | satisfy | token |
word | tokens , string | token* | string |
tuple | <*> | <*> | |
choice | <|> , choice | <|> | choice |
option | option , optional | option , optional | |
times | count | times | times |
See some benchmarks here.
Can you improve this documentation? These fine people already did:
Sergey Trofimov & seriogaEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close