diff --git a/dust-lang/src/lex.rs b/dust-lang/src/lexer.rs similarity index 100% rename from dust-lang/src/lex.rs rename to dust-lang/src/lexer.rs diff --git a/dust-lang/src/lib.rs b/dust-lang/src/lib.rs index 66b4468..3d8a084 100644 --- a/dust-lang/src/lib.rs +++ b/dust-lang/src/lib.rs @@ -7,8 +7,8 @@ pub mod built_in_function; pub mod context; pub mod dust_error; pub mod identifier; -pub mod lex; -pub mod parse; +pub mod lexer; +pub mod parser; pub mod token; pub mod r#type; pub mod value; @@ -20,8 +20,8 @@ pub use built_in_function::{BuiltInFunction, BuiltInFunctionError}; pub use context::{Context, UsageData, VariableData}; pub use dust_error::DustError; pub use identifier::Identifier; -pub use lex::{lex, LexError, Lexer}; -pub use parse::{parse, ParseError, Parser}; +pub use lexer::{lex, LexError, Lexer}; +pub use parser::{parse, ParseError, Parser}; pub use r#type::Type; pub use token::{Token, TokenOwned}; pub use value::{Value, ValueError}; diff --git a/dust-lang/src/parse.rs b/dust-lang/src/parser.rs similarity index 100% rename from dust-lang/src/parse.rs rename to dust-lang/src/parser.rs