summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-10-13 13:09:03 +0200
committerLaurenz <laurmaedje@gmail.com>2019-10-13 13:09:39 +0200
commit5c04185892947969005ffcf6412d7190dafb3a79 (patch)
treefeef0dcb373261e44a31242584635f11c6cc1701 /src/lib.rs
parente2d17aa9d9491b339e6200c97b52f7ade51fa1d8 (diff)
Reformat some things 🧺
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b622d924..00ed9e29 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2,12 +2,11 @@
//!
//! # Steps
//! - **Parsing:** The parsing step first transforms a plain string into an [iterator of
-//! tokens](crate::parsing::Tokens). Then the [parser](crate::parsing::Parser) operates on that to
-//! construct a syntax tree. The structures describing the tree can be found in the [syntax]
-//! module.
+//! tokens](crate::parsing::Tokens). Then parser constructs a syntax tree from the token stream.
+//! The structures describing the tree can be found in the [syntax]. Dynamic functions parse
+//! their own bodies themselves.
//! - **Layouting:** The next step is to transform the syntax tree into a portable representation of
-//! the typesetted document. Types for these can be found in the [doc] and [layout] modules. This
-//! representation contains already the finished layout.
+//! the typesetted document. Types for these can be found in the [layout] module.
//! - **Exporting:** The finished document can then be exported into supported formats. Submodules
//! for the supported formats are located in the [export] module. Currently the only supported
//! format is _PDF_.
@@ -15,6 +14,7 @@
pub extern crate toddle;
use std::cell::RefCell;
+
use toddle::query::{FontLoader, SharedFontLoader, FontProvider};
use crate::func::Scope;