10 lines
180 B
Rust
10 lines
180 B
Rust
|
extern crate nom;
|
||
|
use parser::template;
|
||
|
|
||
|
mod parser;
|
||
|
|
||
|
fn main() {
|
||
|
let parsed_template = template("{#foo.bar}hello {name}{/foo.bar}!");
|
||
|
println!("{:?}", parsed_template);
|
||
|
}
|