start with bare basics

This commit is contained in:
Schrottkatze 2023-11-15 10:55:14 +01:00
commit b71b7f309b
10 changed files with 712 additions and 0 deletions

16
src/main.rs Normal file
View file

@ -0,0 +1,16 @@
use lexer::Token;
use logos::Lexer;
use logos::Logos;
use syntax::parse;
use utils::ws;
use winnow::prelude::*;
use winnow::Parser;
mod lexer;
mod syntax;
mod utils;
fn main() {
let input = "load \"./image.png\" | invert | save \"./image_processed.jpg\"";
dbg!(parse(input));
}