Skip to main content

quilt/
lib.rs

1pub mod glyphs;
2#[cfg(feature = "parse")]
3pub mod grammars;
4pub mod lang;
5pub mod langs;
6pub mod lift;
7// Machines (stateful evaluators; docs/design/machines.md) are, like `lift`,
8// part of the runtime-only build: no tree-sitter dependency.
9pub mod machine;
10pub mod meta;
11pub mod multi;
12// Notebooks: an HTML page whose quoted cells run on the machines of their
13// languages, with the page itself as the HTML machine. Needs the parsers
14// (cells are re-parsed as programs) and HTML (the page).
15#[cfg(all(feature = "parse", feature = "html"))]
16pub mod notebook;
17// The Quilt surface parser is hand-written (issue #254), so it needs no
18// tree-sitter and is available in the runtime-only build too.
19pub mod node;
20pub mod prelude;
21pub mod qmatch;
22pub mod qsnap;
23pub mod qterm;
24// A notebook session behind a socket: the editor, the live page, and the
25// `/app` routes its Python cells serve (`quilt notebook --serve`). Adds one
26// dependency (JSON, for the wire) over what a notebook already needs, so it
27// is its own feature — on by default, off for anyone embedding the library.
28#[cfg(feature = "serve")]
29pub mod serve;
30pub mod strcmd;
31pub mod term;
32#[cfg(feature = "parse")]
33pub mod treesitter;
34pub mod util;
35pub mod validate;
36pub mod zipper;