
Build the flagship specshiny reference demo Shiny app object
Source: R/demo-app.R
specshiny_demo_app.RdConstructs 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_translatorbackend (defaults totranslator_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