ast (am baum)

This commit is contained in:
nora 2022-03-21 12:38:35 +01:00
parent c43fa694b8
commit 234f03dc1a
9 changed files with 457 additions and 0 deletions

12
ub_parser/src/lib.rs Normal file
View file

@ -0,0 +1,12 @@
#![warn(rust_2018_idioms)]
#![allow(dead_code)]
use std::path::PathBuf;
mod ast;
mod lexer;
mod span;
pub fn parse(_str: &str, _file_name: PathBuf) -> Result<ast::File, ()> {
todo!()
}