
gracile-core
The engine at the heart of Gracile. Contains the lexer, parser, AST, and renderer. Use this crate directly if you want to embed the engine into your own library or framework without the re-export layer.
[]
= "0.1"
use ;
use HashMap;
let engine = new
.with_strict
.with_template_loader
.register_filter;
let mut ctx = new;
ctx.insert;
let output = engine.render?;
// → "HELLO WORLD!!!"
Most users should depend on the gracile crate instead, which re-exports this crate's public API under a cleaner name.