Skip to content
Bit Quirky Round Trip
Visual Scripting

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v0.89.0
Menu

Compile

Preview drafts, write focused C# changes, and stay safe when source moves.

On this page

Round Trip treats C# as the source of truth. The canvas can hold a draft, but Compile is the explicit moment that draft becomes code. The file is then imported and parsed back so the graph shows what now exists in source.

What happens when Compile writes a graph draftFour stations show a draft in memory moving through Compile, one changed C# line, and a re-parsed graph. A token visits each station. A side path shows that a placeholder node is refused and leaves the file unchanged. The final frame holds the token at Re-parse and reports that the source is unchanged except for one line.1Draft(memory)2Compilevalidate the plan3Smallest editto the .cs- AddCoins(1) + AddCoins(2)4Re-parsegraph from sourceplaceholder noderefuses, file unchangedsource unchanged except one lineWhat happens when Compile writes a graph draftFour stations show a draft in memory moving through Compile, one changed C# line, and a re-parsed graph. A token visits each station. A side path shows that a placeholder node is refused and leaves the file unchanged. The final frame holds the token at Re-parse and reports that the source is unchanged except for one line.1Draft(memory)2Compilevalidate the plan3Smallest editto the .cs- AddCoins(1) + AddCoins(2)4Re-parsegraph from sourceplaceholder noderefuses, file unchangedsource unchanged except one line
Compile validates the draft, changes one source span, then rebuilds the graph from C#.
  • Preview and Compile covers the draft banner and the toolbar Compile, plus undo and save shortcuts.
  • What gets written explains focused declaration and statement splices, whole-body regeneration, and graph-only configuration.
  • When Compile refuses lists the source shapes Round Trip names and leaves unchanged.
  • Edits from outside follows file watching, Unity import, focus checks, and concurrent-edit protection.
Code and graph in one loop: the parsed method, the same method after a line was typed into the file, a method drafted in the graph, and that draft compiled into the file.
Code and graph in one loop: the parsed method, the same method after a line was typed into the file, a method drafted in the graph, and that draft compiled into the file.

The important loop is visible: open source as a graph and draft a change. Inspect it before you Compile. Round Trip then returns to parsed source. A refusal does not write a partial answer. It keeps the draft available and the file unchanged.

Full-size image