Skip to main content

Topiary Garden

Topiary Garden is a GPU-accelerated text editor built specifically for the topi narrative scripting language. Written in Zig with SDL3, it runs the topi compiler in-process so diagnostics and code intelligence update as you type - no language server, no extra processes.

Topiary Garden editor

Download

Grab a native build for your platform on the Download page. Builds are produced for macOS, Windows, and Linux on every release.

Quick tour

  • Code intelligence: goto definition, find references, diagnostics, symbol index - all driven by the real topi compiler.
  • Topi playback: run any bough interactively from the editor, make choices, watch variable state change in a side panel.
  • Narrative panels: State, Locale, and a branching Flow graph for visualizing story structure.
  • Vim mode: optional modal editing with a .gardenvimrc for custom bindings.
  • Themes: 10 built-in themes with dark and light variants (Nord, Dracula, Gruvbox, Monokai, Catppuccin, etc.) and custom theme support.

Continue to Features for the full tour, or jump straight to Download.