frontend/frontend.rs
1//! Internal.
2
3
4fn main() {
5 let source = include_str!("./source/electrical-engineering.txt");
6 // let source = "\\h1{Hello world}";
7 let nodes = subscript_compiler::frontend::pass::pp_normalize::run_compiler_frontend(source);
8 // let nodes = subscript_compiler::frontend::pass::html_normalize::html_canonicalization(nodes);
9 for node in nodes {
10 println!("{}", node.to_string());
11 }
12}