Will create:
Files and folders are saved in this browser. Select an entry and use Download to save it to your computer.
The source is checked as you type. Select ? to see its expected type and local context. Use completion to replace the goal with a binding.
?
The question-mark arrows above the editor jump to the previous or next open goal. Each arrow is gray when no goal lies in its direction from the cursor. For an unfinished import they open its proof directly. The plain arrows on the left navigate your history.
Green backgrounds mark fully checked terms. Whole checked source lines are green across the editor width, including valid package clauses. Closed parts can be green even when other parts still have goals or errors. Comments and empty lines are green. Checked parameters include their names and spacing; an unfinished function's name, body braces and indentation before an open statement remain unshaded. Orange ? marks open goals; red marks errors. Editing removes green from the changed region and later code until checking completes again.
Press Shift+Enter to evaluate the current term or declaration, or a selected expression. Its value and type appear below the code without changing the source. A green run arrow also appears in the gutter when hovering over a checked term. Editing invalidates previous results. Play is enabled only for an evaluable term or complete selection. Use a result's ⤢ button for an indented, syntax-highlighted view of its value and type; press Escape to close it.
Dependent functions, symbolic universes, records, fixed arrays, sums, indexed inductive data, generated recursors, structural recursion and open goals. The tutorial includes checked induction and vector examples. Unsupported constructs produce diagnostics.
Use Open project to select a folder containing ccgo.mod and .ccgo files. Imports resolve within that module. An orange marker in the right-hand overview at an import means the dependency still has open goals, including transitive dependencies. Select the reported origin to edit its proof. Missing or invalid dependencies appear in red.
ccgo.mod
.ccgo
Click an import's orange marker in the right-hand overview or Open ? goal to jump to its unfinished proof. Replace the hole to complete the proof; checking runs automatically as you type. F12 on an import path opens its source. For a missing project, use Open project folder in Problems.
Context groups separate local bindings, the current file, the package and each import. Local stays open; other sections remember their expanded state per file. Axioms is currently empty: parameters and proof assumptions are listed under Local. Click a binding to open its definition.
New sessions open tutorial.ccgo. Use New file to name and create your own source file. New files go to the folder selected in the dialog, with the full path shown before creation. New folder creates a folder there too. Select a file or folder, then use Download to save it (folders become ZIPs), or the trash button to delete a file or empty folder after confirmation. Click the Explorer heading to select the root. All examples are already in the Explorer under examples, including the import example's source files. Click a file to open it in a tab. Reopening a file keeps its edits.
tutorial.ccgo
Drafts and project edits are stored in this browser. Use Download to save the selected file or folder. Each tab keeps its own undo history while switching files. Closing a tab keeps its source in the Explorer. Browser Back and Forward, the arrow buttons and Alt+Left/Right return to earlier files and cursor positions.
Editor: Monaco · Language implementation: Go · Third-party notices
Logo adapted from Renée French's Go Gopher (CC BY 4.0), holding a lambda cube.