Parser combinators for Clojure(Script).
| Parsec | Parsesso | Kern | Parsatron |
|---|---|---|---|
return | result | return | always |
fail | fail | fail | never |
label, <?> | expecting | <?> | |
do | bind-let | bind | let->> |
>> | after | >> | >>, nxt |
fmap | with | <?> | |
try | maybe | <:> | attempt |
lookAhead | look-ahead | look-ahead | lookahead |
notFollowedBy | not-followed-by | not-followed-by | |
many | many-zero | many | many |
many1 | many-some | many1 | many1 |
skipMany | skip-zero | skip-many | |
skipMany1 | skip-some | skip-many1 | |
token, satisfy | token | satisfy | token |
tokens, string | word | token* | string |
<*> | each,tuple | <*> | |
<!>, choice | choice | <!> | either, choice |
option | optional | option | |
optional | optional | optional | |
count | times | times | times |
See some benchmarks here.
Can you improve this documentation? These fine people already did:
Sergey Trofimov & seriogaEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |