TeaCat
This crate contains basic tools for working with TeaCat files.
use *;
let teacat_str = "
&title := :title[My Webpage];
:head[
&title
]
:body[
:p[Hello, World!]
]
"
.to_string;
let tokenstream = lex;
let ast = parse?;
let expanded = expand?;
let html = render;
assert_eq!;