cl-lexer: Move lexer into its own crate
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
//! Collects identifiers into a list
|
||||
|
||||
use cl_lexer::Lexer;
|
||||
use cl_parser::Parser;
|
||||
use cl_repl::repline::Repline;
|
||||
use cl_structures::span::Loc;
|
||||
use conlang::lexer::Lexer;
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
error::Error,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! This example grabs input from stdin, lexes it, and prints which lexer rules matched
|
||||
#![allow(unused_imports)]
|
||||
use cl_lexer::Lexer;
|
||||
use cl_token::Token;
|
||||
use conlang::lexer::Lexer;
|
||||
use std::{
|
||||
error::Error,
|
||||
io::{stdin, IsTerminal, Read},
|
||||
|
||||
Reference in New Issue
Block a user