cl-parser: Move parser into its own crate

This commit is contained in:
2024-02-29 20:41:07 -06:00
parent 1afde9ce35
commit cc281fc6ab
11 changed files with 44 additions and 20 deletions

View File

@@ -8,6 +8,10 @@ license.workspace = true
publish.workspace = true
[dependencies]
conlang = { path = "../libconlang" }
cl-ast = { path = "../cl-ast" }
cl-structures = { path = "../cl-structures" }
[dev-dependencies]
conlang = { path = "../libconlang" }
cl-parser = { path = "../cl-parser" }

View File

@@ -1,7 +1,8 @@
#![allow(unused_imports)]
use crate::{env::Environment, temp_type_impl::ConValue, Interpret};
use cl_ast::*;
use conlang::{lexer::Lexer, parser::Parser};
use cl_parser::Parser;
use conlang::lexer::Lexer;
pub use macros::*;
mod macros {