VolkanaDEV

Marrow Terminal

The editor and runtime that ships with the Sanguis SDK

Marrow is the terminal user interface for Sanguis. It is a built-in code editor, file browser, and runtime panel. You write Sanguis source, press F5, and Marrow runs it through the compiler and the grid. On a .netlist file, F5 starts the GPU heartbeat; F5 again closes it. No external editor or build system required.

Marrow ships inside the Sanguis binary. Launch it from the command line:

sanguis tui

Or open a specific file:

sanguis tui

Interface

Marrow has four panels arranged in a single window:

PanelDescription
EditorSyntax-highlighted code editor for Sanguis files. Supports tabs, find, undo/redo.
File treeBrowse, open, create, and delete files. Press F2 to toggle.
ScopeShows memory state and output from the last run. Press F3 to toggle.
RuntimeDisplays organ output, errors, and diagnostics after a run.

Pipeline

When you press F5 to run, Marrow executes the same pipeline as the command-line tools:

1. Write source to a temp .sanguis file
2. Compile it through the Sanguis-written compiler
3. Pour the result into the grid and settle it
4. Read the outputs and display them

The compiler that reads your source is written in Sanguis, and the artifact it produces runs on the engine. Running from Marrow uses the same pipeline as the command line.

Keybindings

KeyAction
F1Help screen
F2File tree panel
F3Scope panel (memory and output)
F4Organism graph (circuit structure)
F5Run without saving
F6New file
F7Save file
F8Reset organism (fresh boot)
F9Awaken (step-through watch)
Tab / Shift+TabNext / previous tab
Ctrl+NNew tab
Ctrl+WClose tab
Ctrl+SSave file
Ctrl+Alt+SSave and run
Ctrl+FFind / search
Ctrl+Z / Ctrl+YUndo / redo
Ctrl+AToggle auto-run
Ctrl+C / Ctrl+QQuit

What It Looks Like

Marrow runs in a standard terminal. The layout is a dark-themed split view: editor on the left, runtime output on the right, file tree on the far left, status bar at the bottom.

Organism Graph

Press F4 to see a structural view of your program. The graph shows organs, cells, fields, conditions, and wires. It parses the source to build this view, so it updates as you type.

Tip. Use F4 to verify your circuit structure before running. If the graph shows an error, the program will not compile.