dust/dust-lang/src/lib.rs
2024-08-03 20:23:52 -04:00

23 lines
560 B
Rust

/**
The Dust programming language.
Dust is a statically typed, interpreted programming language.
The [interpreter] module contains the `Interpreter` struct, which is used to lex, parse and/or
interpret Dust code. The `interpret` function is a convenience function that creates a new
`Interpreter` and runs the given source code.
*/
pub mod identifier;
pub mod lex;
pub mod parse;
pub mod token;
pub mod r#type;
pub mod value;
pub use identifier::Identifier;
pub use r#type::Type;
pub use token::Token;
pub use value::Value;
pub type Span = (usize, usize);