summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-19 17:57:31 +0100
committerLaurenz <laurmaedje@gmail.com>2021-03-19 17:57:31 +0100
commit264a7dedd42e27cd9e604037640cf0594b2ec46b (patch)
treed26feea399d54bb86bd44878f40293983bf5251d /src/lib.rs
parentca3df70e2a5069832d7d2135967674c34a155442 (diff)
Scheduled maintenance 🔨
- New naming scheme - TextNode instead of NodeText - CallExpr instead of ExprCall - ... - Less glob imports - Removes Value::Args variant - Removes prelude - Renames Layouted to Fragment - Moves font into env - Moves shaping into layout - Moves frame into separate module
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d4a73ed4..d2e47c62 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -9,12 +9,13 @@
//! computes the value of each expression in document and stores them in a map
//! from expression-pointers to values.
//! - **Execution:** Now, we can [execute] the parsed and evaluated "script".
-//! This produces a [layout tree], a high-level, fully styled representation.
-//! The nodes of this tree are self-contained and order-independent and thus
-//! much better suited for layouting than the syntax tree.
+//! This produces a [layout tree], a high-level, fully styled representation
+//! of the document. The nodes of this tree are self-contained and
+//! order-independent and thus much better suited for layouting than the
+//! syntax tree.
//! - **Layouting:** Next, the tree is [layouted] into a portable version of the
-//! typeset document. The output of this is a vector of [`Frame`]s
-//! (corresponding to pages), ready for exporting.
+//! typeset document. The output of this is a collection of [`Frame`]s (one
+//! per page), ready for exporting.
//! - **Exporting:** The finished layout can be exported into a supported
//! format. Submodules for these formats are located in the [export] module.
//! Currently, the only supported output format is [_PDF_].
@@ -36,15 +37,12 @@ pub mod color;
pub mod env;
pub mod exec;
pub mod export;
-pub mod font;
pub mod geom;
pub mod layout;
pub mod library;
pub mod paper;
pub mod parse;
-pub mod prelude;
pub mod pretty;
-pub mod shaping;
pub mod syntax;
use crate::diag::Pass;