span: Break out into its own crate, to make room for future expansion

This commit is contained in:
2024-02-29 18:31:41 -06:00
parent 362817e512
commit 69f5035a8b
13 changed files with 72 additions and 53 deletions

View File

@@ -13,3 +13,6 @@ publish.workspace = true
conlang = { path = "../libconlang" }
cl-interpret = { path = "../cl-interpret" }
crossterm = "0.27.0"
[dev-dependencies]
cl-structures = { path = "../cl-structures" }

View File

@@ -1,7 +1,8 @@
//! Collects identifiers into a list
use cl_repl::repline::Repline;
use conlang::{common::Loc, lexer::Lexer, parser::Parser};
use cl_structures::span::Loc;
use conlang::{lexer::Lexer, parser::Parser};
use std::{
collections::HashMap,
error::Error,