SlicTranspilerStanBlocks → Stan
StanBlocks.jl ↗

StanBlocks example links

Stable, source-free URLs for the StanCon slides and documentation.

✓ ok 38 runnable now

∅ unavailable — 38 catalogued entries need bundle or reference support

StanCon 2026

5 runnable · 9 linked
Named random-slope submodelBundle

∅ unavailable — requires the bundle editor

Needs the bundle editor: this snippet defines a named @slic submodel and calls it from another model.

Wide-prior model variantBundle

∅ unavailable — requires the bundle editor

Needs the bundle/variant editor: the source is a Base.merge rewrite, not a standalone model body.

Parameter-generating plate cellReference

∅ unavailable — reference fragment

The slide intentionally shows a fragment whose captured sigma is declared outside the excerpt.

Composed observation semanticsReference

∅ unavailable — reference fragment

The slide is a compact fragment. Open authoring/observation-combinators for the complete runnable model.

Feature atlas

21 runnable · 34 linked
Data rebinding Bernoulli modelModel
✓ ok runnable

The editor opens the final data shape; the docs also demonstrate rebinding a traced model.

Cross-validation taintModel
✓ ok runnable

The runnable editor shows the base model. The docs additionally rebind person with maybecv.

Defaults and keyword argumentsBundle

∅ unavailable — requires the bundle editor

Grouped UDF definitions and defaults need bundle-aware instantiation.

Variadic and function-typed dispatchBundle

∅ unavailable — requires the bundle editor

Grouped overloads and higher-order function tokens need bundle mode.

Caller macro expansionReference

∅ unavailable — reference fragment

Public authoring rejects macros by design; a curated trusted bundle could pre-expand it.

Inline mutation helpersBundle

∅ unavailable — requires the bundle editor

The @inline marker and helper dependencies need trusted bundle mode.

Transpile-time return type queryBundle

∅ unavailable — requires the bundle editor

The @stanonly helper dependency needs trusted bundle mode.

Dual Julia and Stan emissionBundle

∅ unavailable — requires the bundle editor

The UDF default plus consuming model need bundle mode.

Custom distribution triadBundle

∅ unavailable — requires the bundle editor

The grouped @lhs/@lpxf definitions must be installed together.

Main guide

6 runnable · 11 linked
Multi-stratum Cholesky priorReference

∅ unavailable — reference fragment

The excerpt depends on caller-provided n_strata and n_terms.

BRM-style composition patternsBundle

∅ unavailable — requires the bundle editor

Submodels and custom distributions need bundle mode.

Authoring guide

6 runnable · 7 linked

Worked examples

0 runnable · 7 linked
Historical SLIC overviewReference

∅ unavailable — reference fragment

Historical source includes intentionally superseded syntax.

Case studies

0 runnable · 8 linked