aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 4c08ff0b65ba60ee73c8230e57b593f36e1da74b (plain)
1
2
3
4
5
6
7
8
9
10
mod plumber_core;
use crate::plumber_core::rule_engine;
use crate::rule_engine::parse::Parser;

fn main() {
    // testing with file from plan9ports: https://9fans.github.io/usr/local/plan9/plumb/basic
    let input: String = std::fs::read_to_string("basic").expect("couldnt read file");
    let parser: Parser = Parser::new(input);
    parser.parse();
}