github ↗
docs menu

quill

tools · like Jupyter

Quill is a REPL and notebook environment for OCaml. Run quill for an interactive toplevel with syntax highlighting, completion, and persistent history — or open a markdown file for a full notebook with a terminal UI, web frontend, or batch evaluator.

install
opam install quill

Features

  • Interactive REPL: quill launches a toplevel with syntax highlighting, tab completion with ghost text, persistent history, smart phrase-aware submission, and type inspection
  • Markdown notebooks: notebooks are .md files whose code blocks marked {.run} are cells — git-friendly, editor-agnostic, zero lock-in
  • Terminal UI: full-screen TUI for cell navigation, execution, and output display
  • Web frontend: quill serve opens a browser-based notebook with CodeMirror 6 editor, real-time execution, autocompletion, and diagnostics
  • Batch execution: quill run executes all cells and prints or saves results
  • Watch mode: quill run --watch re-executes on file change for a live editing workflow
  • Output format: cell outputs stored as <!-- quill:output --> HTML comments, invisible in rendered markdown
  • Raven integrated: Nx, Rune, Vega, Norn, Kaun, Hugin, Sowilo, Talon, Brot, and Fehu are pre-loaded when installed

Quick start

Launch the REPL:

bash
quill

Or open a notebook in the terminal UI:

bash
quill note notebook.md

Or in the browser:

bash
quill serve notebook.md

Or execute from the command line:

bash
quill run notebook.md

Next steps

this page is tested with mdxedit this page ↗