Liking cljdoc? Tell your friends :D

parsesso

Parser combinators for Clojure(Script).

Clojars Project

Motivation

  • Idiomatic and convenient API for parser combinators in Clojure and ClojureScript.

Inspiration

Correspondence of function names

ParsecParsessoKernParsatron
returnresultreturnalways
failfailfailnever
label, <?>expecting<?>
dobind-letbindlet->>
>>after>>>>, nxt
fmapwith<?>
trymaybe<:>attempt
lookAheadlook-aheadlook-aheadlookahead
notFollowedBynot-followed-bynot-followed-by
manymany-zeromanymany
many1many-somemany1many1
skipManyskip-zeroskip-many
skipMany1skip-someskip-many1
token, satisfytokensatisfytoken
tokens, stringwordtoken*string
<*>each,tuple<*>
<!>, choicechoice<!>either, choice
optionoptionaloption
optionaloptionaloptional
counttimestimestimes

Performance

See some benchmarks here.

Can you improve this documentation? These fine people already did:
Sergey Trofimov & serioga
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close