Skip to contents

Constructs a complete bslib Shiny application showcasing the full neuro-symbolic pipeline: Natural Language -> Validated spec_ir -> Dynamic Minimal Controls with Undo/Redo History -> Bidirectional Sync & Visual Diffs -> Deterministic AST-Verified R & Quarto Compilation.

Usage

specshiny_demo_app(translator = translator_rule(), initial_prompt = NULL)

Arguments

translator

A spec_translator backend (defaults to translator_rule()).

initial_prompt

Optional initial prompt compiled on startup. Defaults to the flagship 2-level school power simulation preset.

Value

A shiny.appobj ready to run with shiny::runApp().

Examples

app <- specshiny_demo_app()
inherits(app, "shiny.appobj")
#> [1] TRUE