A big refactor, step 1

This commit is contained in:
2023-11-09 22:58:26 -06:00
parent 7e8124055a
commit 18b7743c12
7 changed files with 117 additions and 113 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ use crate::ast::*;
use std::collections::btree_map::Entry::Vacant;
use std::collections::{BTreeMap};
use std::fmt::{Display, Formatter};
use crate::forge_parser::{ParseError, parse};
use crate::parser::{ParseError, parse};
#[derive(Eq, Clone, PartialEq, Debug)]
pub struct CompileError(pub usize, pub usize, pub String);
@@ -908,7 +908,7 @@ pub fn build_boot(src: &str) -> Result<Vec<String>, CompileError> {
#[cfg(test)]
mod test {
use super::*;
use crate::forge_parser::parse;
use crate::parser::parse;
#[test]
fn test_eval_const() {