thp/src/syntax/mod.rs

12 lines
232 B
Rust
Raw Normal View History

2022-11-28 23:33:34 +00:00
use super::token::Token;
2022-11-21 21:58:51 +00:00
2023-01-05 23:20:58 +00:00
mod expression;
mod types;
2022-11-28 23:33:34 +00:00
/// Constructs the Misti AST from a vector of tokens
2023-01-05 23:20:58 +00:00
pub fn construct_ast(_tokens: Vec<Token>) -> Result<types::ModuleAST, String> {
2022-11-28 23:33:34 +00:00
Err(String::from("NOT IMPLEMENTED"))
2022-11-21 21:58:51 +00:00
}
2023-01-05 23:20:58 +00:00