Run Calcit
This page is a quick navigation hub. Detailed topics are split into dedicated chapters under run/.
Quick start
Run local project once (default behavior):
cr
Enable watch mode explicitly:
cr -w
Evaluate a snippet:
cr eval 'println "|Hello world"'
Emit JavaScript / IR once:
cr js
cr ir
Run guide map
- Run in Eval mode
- CLI Options
- Querying definitions
- Documentation & Libraries
- CLI Code Editing
- Load Deps
- Hot Swapping
- Bundle Mode
- Entries
Quick find by keyword
Use these keywords directly with cr docs read for faster section hits:
eval,snippet,dep,type-check→ Run in Eval modewatch,once,entry,reload-fn→ CLI Optionsquery,find,usages,search-expr→ Querying definitionsdocs,read-lines,libs,readme→ Documentation & Librariesedit,tree,target-replace,imports→ CLI Code Editing
Typical navigation flow:
# 1) List headings in a chapter
cr docs read run.md
# 2) Jump by keyword(s)
cr docs read run.md quick find
# 3) Open the target chapter and narrow again
cr docs read query.md usages
Use this page for orientation, then jump to the specific chapter for complete examples and edge cases.