DEVELOPMENT EDITION · 769442725406
Toolchain Manual
On this page

The browser IDE

veradic ide opens a local development environment for Vada, Varc and Vibe. Edit files, inspect compiler diagnostics, check and prove a project, run it, and experiment in a REPL without installing a separate editor. The Guide brings these manuals and code wizards alongside the source. An optional Assistant can prepare reviewed, compiler-validated edits; the editor and its development tools work without a model.

The browser is the interface. Files and native programs stay on the computer running veradic; this is not a hosted workspace or a remote deployment service.

Open a workspace

After installing Verada, run one of these commands in a terminal:

# Open the current directory.
veradic ide

# Open an existing directory.
veradic ide ~/Projects/hello

# Use the directory containing this project file.
veradic ide --project ~/Projects/hello/verada.toml

Open the complete private URL printed by the command, including the part after #. Keep the terminal process running while you work; Ctrl-C stops the server. Each launch can use a different port, so use its new URL when restarting. Keep that private URL out of screenshots, shared documents and source control.

A workspace does not need a verada.toml: you can browse and edit an ordinary directory. Project operations need a project configuration inside that workspace. --project FILE selects the directory containing the file; it cannot be combined with a positional directory. veradic --web-ide [DIR] is an alias. To open an existing directory literally named new, write veradic ide ./new, because bare new selects project creation.

Create a project and open it

For a complete starter in one command:

veradic ide new ~/Projects/hello --syntax varc

Choose vada, varc or vibe; Vada is the default. The starter contains verada.toml, .gitignore, a src/ directory, a bounded-increment function with its contract, and a main program. It is ready to check, prove and run. The project name normally comes from the directory name; set it explicitly when useful:

veradic ide new "$HOME/Projects/my experiments/hello" --syntax vibe --name Hello

Missing directories, including parents, are created. An existing uninitialized directory is also accepted: unrelated files are preserved, but an existing verada.toml or any file the starter would create, including .gitignore, prevents initialization. Existing sources under src/ join the project and may affect compilation. File and symbolic-link targets are not accepted. An explicit name starts with an ASCII letter and contains at most 64 letters, digits, hyphens or underscores.

Use ordinary veradic ide DIR to reopen a project. Repeating ide new on an initialized project is an error. If creation succeeds but starting the server fails, the files remain; reopen them with veradic ide DIR after fixing the startup problem.

Command When to use it
veradic new NAME Create a new project directory, then continue in a terminal or another editor; the directory must not exist.
veradic ide DIR Open an existing project or file workspace.
veradic ide new DIR Initialize a missing or existing uninitialized directory and open the IDE.

The IDE's New folder… command creates a folder inside the open workspace; it does not initialize another project or switch the workspace.

Create another project from the IDE

Choose Files → New project…, enter a name and syntax, then Preview files. Review the generated project and sources before choosing Create reviewed project. This makes a new child directory inside the current workspace; its name must not exist. The IDE selects the new project's configuration and opens its main source, while keeping the workspace root. This differs from ide new DIR, which can initialize an existing uninitialized directory. Use a new terminal launch when you want to work with a different workspace root.

Find your way around

The file explorer shows the workspace on the left. Open source files into editor tabs in the middle. Project, REPL and Problems use the lower pane; Guide and Assistant use the right pane. Drag the pane dividers to make room for the task at hand. Their widths and heights are remembered. A focused divider also responds to arrow keys, with Shift for larger adjustments, and Home/End for its limits.

The browser IDE with Varc source tabs, the workspace explorer, and a successful Full-proof project run.

The starter project running in the IDE. Its Project result reports the completed operation and the program's output, while the source stays available above it.

The status line identifies the active file's language and caret position. Vada .vads and .vadb files and Varc .va files have syntax highlighting. Python files in a Verada project are recognized as Vibe; other Python files remain plain text unless you select Vibe. TOML files, including verada.toml, have their own highlighting.

Saved Verada sources connect to the language server for diagnostics, semantic highlighting, hover, definitions, references, outline, signatures, formatting, quick fixes and symbol rename. Untitled drafts have local highlighting and editing support; save them into the project for compiler-backed features. APL glyph completion is available in saved Verada sources. General project-wide identifier completion is not promised by the source editor.

Edit, save and organize files

Each editor keeps its own text Undo history. Undo file operation and Redo file operation in the explorer are separate: they undo moves, renames and supported folder or Trash operations while their original files remain unchanged. With focus in the tree, Cmd/Ctrl-Z uses this file history; with focus in an editor it changes text. Trash lists retained items and offers Restore, including after a server restart. This is the workspace's Trash under .verada/ide-trash, not the operating system's Trash. Restore refuses to replace an occupied path.

If a file changes on disk while you edit it, the IDE reports a save conflict and keeps your text. Review the other version, save your text elsewhere, or deliberately reload. It does not silently choose which edit to discard. Closing a dirty tab similarly asks what to keep.

Check, prove, build and run

Select the project's verada.toml in Project → Options. The selected project determines the source set and entry point: opening or saving a file does not make that file the program to run.

Action Result
Check Parse, resolve names, check types and analyze flow, without proof or execution.
Prove Ask the prover to establish the project's checks and contracts.
Build Compile and link a native executable using the selected proof mode.
Run Compile and execute a fresh capture of the selected project.
Run build Execute the retained artifact from the latest successful Build and its original inputs.

The IDE initially selects Full proof for project execution. Options also offers Advisory proof and Runtime checks only, finite standard input and a deadline. These modes do not mean the same thing: a successful build in a relaxed mode is not evidence of a full proof. Prove performs full proof. The IDE's initial Full proof setting differs from a terminal project's veradic run, which normally uses cached proofs. See execution modes.

Work with unsaved changes

Before an operation, the IDE captures the project inputs. If there are unsaved sources or files outside the selected project, an input review shows which files participate. Choose Cancel, Save then continue, or continue with the listed inputs. Applicable named source buffers can be checked and run without saving them. Untitled drafts cannot participate until saved inside the configured source directories. Save modified project configuration and foreign dependencies before starting.

This distinction is useful when experimenting: a successful run can describe the unsaved editor text while the file on disk still contains the previous version. Save explicitly when you want to keep the change.

Results identify their operation, proof mode and captured inputs. If you edit afterwards, those results describe the older capture; rerun the operation to assess the current source. Run build deliberately uses the retained build, so use Run or Build for fresh editor changes. Stop ends the running worker, but cannot undo output or external effects that a program has already produced.

Follow a diagnostic

Open Problems for language-server diagnostics, or inspect diagnostics in a Project result. Choose a diagnostic to go to its source location. Errors include their numbered code, explanation and, where available, counterexample inputs and suggested repairs. Compiler quick fixes can preview edits across files; applying them changes editor buffers and supports Undo. Save those changes explicitly, then Check or Prove again.

A failed proof reports B4101 and selects the overflowing expression in the Varc source.

Removing the starter's precondition exposes a possible overflow at value + 1. The proof result explains the failure; selecting its diagnostic takes you to that expression. Here the proof used the unsaved buffer, so the experiment did not require writing it to disk.

An old result is not navigated as though it described newer text: if its inputs have changed, rerun the check. Copy a problem, all problems, or selected problems when reporting an issue. Copied text includes locations, severity, codes and the full messages.

For a filename diagnostic such as B1007, Fix filename… is distinct from ordinary file rename. It previews the compiler-selected filename and any supported import edits. Review that preview before applying it. If prerequisite files need saving, Save and preview saves those files first; cancelling the later preview does not undo that explicit save.

Experiment in the REPL

Open REPL and choose Vada, Varc or Vibe. Each syntax has its own draft, transcript, Undo history and native session. Opening the pane or changing syntax does not execute code: the first submitted input starts that syntax's session.

Enter 1 + 2 and choose Evaluate. Next define a value or function and use it in another input; accepted definitions remain available in that session. Ctrl+Space offers keywords, supported built-ins, Guide snippets, local words and names the session has accepted. It does not import the active source file's scope or provide full project/member completion.

The Varc REPL evaluates Bounded.increment(41) to 42 beside the source editor.

After importing Bounded into this project session, its increment(41) call returns 42. The source editor remains visible above, while the transcript retains each submitted input and its result. The input area holds a draft for the next evaluation.

The selected project supplies the session's available modules and settings, but its main program is not run at startup. Import the units you need in the REPL. To try an independent expression, choose Scratch in REPL options; it starts with an empty private project, while keeping standard library imports available. A failed project capture offers Scratch as a choice rather than switching to it silently.

REPL options sets the project, proof mode, finite standard input and per-input deadline. Full proof is initially selected, so a complete expression can still be rejected if its proof fails. The terminal REPL has a different advisory default.

Key or action In the REPL input
Enter Submit complete input at its end; continue an unfinished block. Recognized short block headers can expand into editable templates.
Shift+Enter Insert a plain newline without template expansion.
Cmd+Enter on macOS; Ctrl+Enter elsewhere Explicitly finish an input, like Evaluate, after filling or removing template placeholders.
Tab in a template Move through its placeholders.
Ctrl+Space Show suggestions; Enter then accepts the selected suggestion.

The hint below the input explains the selected syntax and command. Choose History to reuse an earlier input; a different unfinished draft is retained. Send selection from a source editor targets the matching syntax and likewise preserves an existing REPL draft. Use Type, Drop declaration, Prove session and Memory for their corresponding session operations. Scroll back through the transcript to read or copy earlier output; Jump to latest resumes following new output.

An open session keeps its original project capture and proof mode. Reset starts a fresh worker from that capture and does not replay earlier inputs. Choose Close session and evaluate again to use current project sources or different project, proof or input options. The per-input deadline can change while a session is open. Saving a source file or switching source tabs does not change an existing session's imports. After a connection problem, Check status inspects the original request; it does not submit the input again.

Use the Guide and code wizards

Open Guide to read the manuals alongside your program. The installed guide is local, searchable and organized into the same manuals, with examples in each syntax. It works without a model connection.

The local Guide displays the first-proof lesson alongside its Varc source.

The first-proof lesson open beside the program. Follow editor selects Varc examples for this source file, so the explanation and the code use the same syntax.

Guide examples and Code wizards can prepare an insertion. Choose the syntax and fields, then preview the generated code and its placement instructions. Insert into editor inserts into the captured editor and selection as one undoable, unsaved edit. A preview stays tied to that editor even if you switch tabs; changed text or project context requires a new preview. Check the resulting project and save the insertion when ready. Browsing, filling fields and previewing do not run code or call a model.

APL source uses the same language services and glyph support as other saved Verada source. Right-click in an APL string and choose Open APL Workbench (Cmd+K, Cmd+Shift+A) to edit it as blocks and run examples in the pane beside the editor; Insert APL Expression… builds a new one at the cursor. See the APL Workbench.

Optional Assistant

The Assistant can inspect the selected project, consult Verada guidance, Check and Prove, and propose source changes. Configure it through Settings → Assistant or Configure Assistant…. Select the installed native Codex runtime, provider, exact model identifier and Responses endpoint, with credentials if that provider needs them. The settings offer OpenAI, LM Studio Qwen and another Responses provider. Verada does not install a runtime, start LM Studio or choose a model on your behalf. The native assistant launcher is currently qualified for macOS.

Apply saves settings without sending a model request; Cancel discards unapplied changes. Close open conversations with New conversation before changing assistant configuration. Environment-controlled fields are read-only. A runtime update requires explicitly selecting and applying its new installed identity. Stored keys stay in the private IDE user-data directory and are never returned to the browser; do not put them in project files.

For a source request, select the intended project and save changed configuration or foreign inputs first. The assistant captures applicable source buffers, including unsaved changes. It can use compiler Check and full proof, but cannot run your program, use the REPL, write the workspace directly or use an arbitrary shell. Manual Run and REPL are separate actions.

Browser requests allow up to five minutes, subject to the tool and provider limits. Choose Stop request to cancel earlier; the IDE waits for the owned work to stop before confirming.

Review all files in a proposal. An applicable edit proposal must pass fresh Check and full proof; failed or incomplete validation stays visible. Apply rechecks that the captured project and editors are still current, then changes editor buffers with Undo. New files become unsaved drafts. Save remains an explicit action. A changed project needs a new proposal rather than applying an old answer to different code.

Worked example: Pythagorean triples

This runnable Vibe project was produced through the IDE Assistant using local Qwen3.8-27B through LM Studio. Its specification is small enough to review precisely:

Start a Vibe project, select its verada.toml in Project, then open Assistant and ask for that program in src/main.vb. Keep Documentation only off for a source proposal. Choose Review changes, inspect the proposed file and its Check/Prove results, then choose Apply reviewed changes and Save. In this recorded example, a follow-up request separated the initially parameterized entry point into print_triples(n) and a parameterless main(). Both proposals were reviewed; this is the exact final source:

from verada import requires


def print_triples(n: int) -> None:
    requires(1 <= n <= 100)
    for a in range(1, n + 1):
        for b in range(a + 1, n + 1):
            for c in range(b + 1, n + 1):
                if a * a + b * b == c * c:
                    print(a, b, c)


def main() -> None:
    print_triples(30)


if __name__ == "__main__":
    main()

The IDE shows the final Vibe program and the Assistant's validated proposal, marked Applied to editor, with a successful manual Run.

The real IDE session after reviewing, applying and saving the proposal. The Assistant prepared the edit; Project → Run was a separate action. To repeat it, select Full proof in Project options and choose Run. From a copy of the runnable project's directory, use this fresh terminal run with strict assumption checking:

veradic run --project verada.toml --proof full --no-cache --no-assume

For n = 30, the output is these 11 rows:

3 4 5
5 12 13
6 8 10
7 24 25
8 15 17
9 12 15
10 24 26
12 16 20
15 20 25
18 24 30
20 21 29

The recorded project passed all 39 compiler proof obligations. These establish the generated safety checks and written contracts; the code has no mathematical completeness postcondition saying that every required triple is printed. A separate native-output audit kept print_triples unchanged and checked all 100 integer bounds from 1 through 100 against two independent oracles: integer-square-root enumeration and Euclid's formula with all positive scales. Every output matched, including order and absence of duplicates; 2,252 triples were printed across the 100 cases. The audit record identifies the source hash and results. Those exhaustive output checks provide the additional evidence for the specification over this bounded input domain.

Preferences, recovery and stopping

Settings controls the theme, font size and line wrapping independently of the Assistant. Preferences belong to the selected profile, normally under ~/.verada/ide/; tabs, layout and project selection are remembered separately for each workspace. Use --user-data-dir DIR for another profile. The changing server port does not create a new workspace identity.

Saved tabs restore when the workspace reopens. Dirty and untitled drafts use separate recovery records per window. Recovery offers explicit Restore or Discard choices. Restoring keeps the recovered text available for review and compares its saved base with the current disk file; it does not overwrite files, replay commands or resume native execution. Save important work explicitly because recovery is bounded and updates after edits rather than on every keystroke.

Close or stop active project/REPL work, save your files, then stop veradic ide with Ctrl-C in its terminal. Reopen the directory with veradic ide DIR and the new printed URL.

Launch options and common questions

Option Purpose
--project FILE Open the directory containing an existing project file; exclusive with a positional directory and ide new.
--user-data-dir DIR Use a separate profile for preferences, sessions and assistant configuration.
--ide-assets DIR Developer override for the embedded browser assets; ordinary installed use needs no asset directory.
ide new DIR --syntax SYNTAX Initialize and open a project in Vada, Varc or Vibe.
ide new DIR --name NAME Override the name derived from the directory.

Common launch options may appear before new or after its directory and creation options. Use veradic ide --help and veradic ide new --help for accepted arguments.