Skip to main contentCrate gracile_core
Source pub use error::Error;pub use error::Result;pub use renderer::Engine;pub use renderer::FilterFn;pub use renderer::LoaderFn;pub use value::Value;
- ast
- Abstract syntax tree types for Gracile templates.
- error
- Error types and diagnostics for lexing, parsing, and rendering.
- lexer
- Tokenizer that converts raw template source into a stream of tokens.
- parser
- Hand-written recursive descent parser that builds the AST from tokens.
- renderer
- Template renderer that evaluates the AST against a context to produce output.
- value
- Runtime value types used during template evaluation.
- context
- Build a
HashMap<String, Value> context from key => value pairs.