Liking cljdoc? Tell your friends :D
All platforms.

beme.alpha.pipeline

Explicit pipeline composition: source → scan → group → parse → resolve → forms. Each stage is a ctx -> ctx function operating on a shared context map.

Explicit pipeline composition: source → scan → group → parse → resolve → forms.
Each stage is a ctx -> ctx function operating on a shared context map.
raw docstring

groupclj/s

(group ctx)

Collapse opaque regions (reader conditionals, namespaced maps, syntax-quote brackets) from flat tokens into composite tokens.

Collapse opaque regions (reader conditionals, namespaced maps,
syntax-quote brackets) from flat tokens into composite tokens.
sourceraw docstring

parseclj/s

(parse ctx)

Parse grouped tokens into Clojure forms.

Parse grouped tokens into Clojure forms.
sourceraw docstring

runclj/s

(run source)
(run source opts)

Run the full pipeline: source → tokens → grouped → forms. Returns the context map with :source, :raw-tokens, :tokens, :forms. Unlike beme.alpha.core/beme->forms, the pipeline attaches whitespace metadata (:ws) to tokens via the scan stage — present on both :raw-tokens and :tokens (the grouper preserves :ws on pass-through tokens).

Run the full pipeline: source → tokens → grouped → forms.
Returns the context map with :source, :raw-tokens, :tokens, :forms.
Unlike beme.alpha.core/beme->forms, the pipeline attaches whitespace metadata
(:ws) to tokens via the scan stage — present on both :raw-tokens and
:tokens (the grouper preserves :ws on pass-through tokens).
sourceraw docstring

scanclj/s

(scan ctx)

Tokenize source text into flat tokens (no structural grouping). Attaches leading whitespace/comments to each token as :ws.

Tokenize source text into flat tokens (no structural grouping).
Attaches leading whitespace/comments to each token as :ws.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close