mirror of
https://github.com/Noratrieb/ub.git
synced 2026-01-15 17:15:08 +01:00
ast (am baum)
This commit is contained in:
parent
c43fa694b8
commit
234f03dc1a
9 changed files with 457 additions and 0 deletions
12
ub_parser/src/lib.rs
Normal file
12
ub_parser/src/lib.rs
Normal 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!()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue