Initial commit

First prototype parser ready
This commit is contained in:
2022-05-25 02:07:49 +02:00
commit 9a553b7b68
6 changed files with 331 additions and 0 deletions

13
src/main.rs Normal file
View File

@@ -0,0 +1,13 @@
use std::io::{self, Read};
use chumsky::Parser;
mod parse;
fn main() {
let mut input = String::new();
let mut stdin = io::stdin();
stdin.read_to_string(&mut input).unwrap();
let output = parse::parser().parse(input);
println!("\nParsed:\n{:?}", output);
}